summaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2010-10-11 16:36:51 +0200
committerIngo Molnar <mingo@elte.hu>2010-10-18 18:41:59 +0200
commit17bdcf949d03306b308c5fb694849cd35f119807 (patch)
tree5a84fcb6e691fb17b4c723fd8429e3ff2ce767e2 /kernel/sched_fair.c
parent34f971f6f7988be4d014eec3e3526bee6d007ffa (diff)
downloadtalos-op-linux-17bdcf949d03306b308c5fb694849cd35f119807.tar.gz
talos-op-linux-17bdcf949d03306b308c5fb694849cd35f119807.zip
sched: Drop all load weight manipulation for RT tasks
Load weights are for the CFS, they do not belong in the RT task. This makes all RT scheduling classes leave the CFS weights alone. This fixes a real bug as well: I noticed the following phonomena: a process elevated to SCHED_RR forks with SCHED_RESET_ON_FORK set, and the child is indeed SCHED_OTHER, and the niceval is indeed reset to 0. However the weight inserted by set_load_weight() remains at 0, giving the task insignificat priority. With this fix, the weight is reset to what the task had before being elevated to SCHED_RR/SCHED_FIFO. Cc: Lennart Poettering <lennart@poettering.net> Cc: stable@kernel.org Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1286807811-10568-1-git-send-email-linus.walleij@stericsson.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud