]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Avoid printing sched_group::__cpu_power for default case
authorGautham R Shenoy <ego@in.ibm.com>
Tue, 14 Apr 2009 03:39:36 +0000 (09:09 +0530)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Apr 2009 22:46:05 +0000 (00:46 +0200)
commitafd7012428051fd0e05e454e80205d8d37cdaa13
treef401d1c8d3cc859d10f2c05485cc79c8fd9e3fbf
parentf48ef9915986f610de350e5b71b02950d879c2dc
sched: Avoid printing sched_group::__cpu_power for default case

Commit 9ad89029ad46 ("sched: Print sched_group::__cpu_power
in sched_domain_debug") produces a messy dmesg output while
attempting to print the sched_group::__cpu_power for each
group in the sched_domain hierarchy.

Fix this by avoid printing the __cpu_power for default cases.
(i.e, __cpu_power == SCHED_LOAD_SCALE).

[ Impact: reduce syslog clutter ]

Reported-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Fixed-by: Tony Luck <tony.luck@intel.com>
Cc: a.p.zijlstra@chello.nl
LKML-Reference: <20090414033936.GA534@in.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c