sched: Preserve the nice level over sched_setscheduler() and sched_setparam() calls
authorPeter Zijlstra <[email protected]>
Wed, 15 Jan 2014 11:30:15 +0000 (12:30 +0100)
committerIngo Molnar <[email protected]>
Thu, 16 Jan 2014 08:27:14 +0000 (09:27 +0100)
commite3de300d1212b42aa9d0d6031b12fca06ac00dd9
tree630b79be92ea0c689b17d9363eb3020fca21255e
parent5778fccf361c9ba443b45d822f3d875f64c80084
sched: Preserve the nice level over sched_setscheduler() and sched_setparam() calls

Previously sched_setscheduler() and sched_setparam() would not affect
the nice value of a task, restore this behaviour.

Signed-off-by: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Michael wang <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Fixes: d50dde5a10f3 ("sched: Add new scheduler syscalls to support an extended scheduling parameters ABI")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched/core.c