diff options
author | Peter Zijlstra <[email protected]> | 2016-07-13 10:56:25 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-08-10 14:03:32 +0200 |
commit | 7c3edd2c300b7ef2005a69dc727692ee07434aa5 (patch) | |
tree | 19856ee335a4065233094aeb225b66986738dea4 /tools/perf/scripts/python | |
parent | a1fd46565bea62840a24bee7b7c60f65bb12bd21 (diff) |
sched/fair: Improve PELT stuff some more
Vincent noted that the update_tg_load_avg() usage in commit:
3d30544f0212 ("sched/fair: Apply more PELT fixes")
isn't entirely sufficient. We need to call this function every time
cfs_rq->avg.load changes, this includes when update_cfs_rq_load_avg()
returns true, but {attach,detach}_entity_load_avg() themselves also
change it. This means we need to unconditionally call
update_tg_load_avg().
Also, add more comments.
Reported-by: Vincent Guittot <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions