]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Print sched_group::__cpu_power in sched_domain_debug
authorGautham R Shenoy <ego@in.ibm.com>
Mon, 30 Mar 2009 04:55:20 +0000 (10:25 +0530)
committerIngo Molnar <mingo@elte.hu>
Wed, 1 Apr 2009 15:58:03 +0000 (17:58 +0200)
commit9ad89029ad468f3c029a287be3f48c0fda332f68
tree755769f792c6b59eadfdda02b6a64166bf0ca8d8
parentf13131660ffdbe40183f1d13f936d0974b5e4e94
sched: Print sched_group::__cpu_power in sched_domain_debug

Impact: extend debug info /proc/sched_debug

If the user changes the value of the sched_mc/smt_power_savings sysfs
tunable, it'll trigger a rebuilding of the whole sched_domain tree,
with the SD_POWERSAVINGS_BALANCE flag set at certain levels.

As a result, there would be a change in the __cpu_power of sched_groups
in the sched_domain hierarchy.

Print the __cpu_power values for each sched_group in sched_domain_debug
to help verify this change and correlate it with the change in the
load-balancing behavior.

Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090330045520.2869.24777.stgit@sofia.in.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c