diff options
| author | Vincent Guittot <[email protected]> | 2017-05-17 11:50:45 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-09-29 19:35:14 +0200 |
| commit | 9059393e4ec1c8c6623a120b405ef2c90b968d80 (patch) | |
| tree | 3846d56a0d85045436bbf0c8bd27e59ab1876a5b /tools/perf/scripts/python | |
| parent | 840c5abca499a858619954dbcffc82110bb6e076 (diff) | |
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 <[email protected]>
Signed-off-by: Vincent Guittot <[email protected]>
[ Added changelog, fixed the call condition. ]
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions