diff options
author | Peter Zijlstra <[email protected]> | 2011-04-07 14:09:49 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-04-11 12:58:19 +0200 |
commit | a9c9a9b6bff27ac9c746344a9c1a19bf3327002c (patch) | |
tree | 5257413293a39f8a2812961611425db1d8173189 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 21d42ccfd6c6c11f96c2acfd32a85cfc33514d3a (diff) |
sched: Simplify sched_groups_power initialization
Again, instead of relying on knowing the possible domains and their
order, simply rely on the sched_domain tree and whatever domains are
present in there to initialize the sched_group cpu_power.
Note: we need to iterate the CPU mask backwards because of the
cpumask_first() condition for iterating up the tree. By iterating the
mask backwards we ensure all groups of a domain are set-up before
starting on the parent groups that rely on its children to be
completely done.
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions