summaryrefslogtreecommitdiffstats
path: root/kernel/sched/debug.c
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2017-05-17 11:50:45 +0200
committerIngo Molnar <mingo@kernel.org>2017-09-29 19:35:14 +0200
commit9059393e4ec1c8c6623a120b405ef2c90b968d80 (patch)
tree3846d56a0d85045436bbf0c8bd27e59ab1876a5b /kernel/sched/debug.c
parent840c5abca499a858619954dbcffc82110bb6e076 (diff)
downloadlinux-9059393e4ec1c8c6623a120b405ef2c90b968d80.tar.bz2
sched/fair: Use reweight_entity() for set_user_nice()
Now that we directly change load_avg and propagate that change into the sums, sys_nice() and co should do the same, otherwise its possible to confuse load accounting when we migrate near the weight change. Fixes-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> [ Added changelog, fixed the call condition. ] Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Link: http://lkml.kernel.org/r/20170517095045.GA8420@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/debug.c')
0 files changed, 0 insertions, 0 deletions