diff options
| author | 2012-10-04 13:18:31 +0200 | |
|---|---|---|
| committer | 2012-10-24 10:27:29 +0200 | |
| commit | f269ae0469fc882332bdfb5db15d3c1315fe2a10 (patch) | |
| tree | af5e130745392fa9fdd32f59b10272e269192b95 /tools/perf/scripts/python/sctop.py | |
| parent | sched: Refactor update_shares_cpu() -> update_blocked_avgs() (diff) | |
| download | wireguard-linux-f269ae0469fc882332bdfb5db15d3c1315fe2a10.tar.xz wireguard-linux-f269ae0469fc882332bdfb5db15d3c1315fe2a10.zip | |
sched: Update_cfs_shares at period edge
Now that our measurement intervals are small (~1ms) we can amortize the posting
of update_shares() to be about each period overflow. This is a large cost
saving for frequently switching tasks.
Signed-off-by: Paul Turner <pjt@google.com>
Reviewed-by: Ben Segall <bsegall@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20120823141507.200772172@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
