diff options
author | Byungchul Park <[email protected]> | 2015-10-14 18:47:35 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-11-23 09:37:53 +0100 |
commit | 59543275488d18d878cd2ab2b1072efc1e9ac1c4 (patch) | |
tree | 14a2adb44795038e35c9209fb3d509eed53bd15a /tools/perf/scripts/python/syscall-counts.py | |
parent | d937cdc59e363baf8d5c757d944b13ebfa33e729 (diff) |
sched/fair: Prepare __update_cpu_load() to handle active tickless
There are some cases where distance between ticks is more than one tick
while the CPU is not idle, e.g. full NOHZ.
However __update_cpu_load() assumes it is the idle tickless case if the
distance between ticks is more than 1, even though it can be the active
tickless case as well. Thus in the active tickless case, updating the CPU
load will not be performed correctly.
Where the current code assumes the load for each tick is zero, this is
(obviously) not true in non-idle tickless case. We can approximately
consider the load ~= this_rq->cpu_load[0] during tickless in non-idle
tickless case.
Signed-off-by: Byungchul Park <[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]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions