diff options
author | Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> | 2008-11-29 16:50:12 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-01 08:44:00 +0100 |
commit | 43714539eab42b2fa3653ea7bd667b36c2291b11 (patch) | |
tree | 43de6a8062510c4014eb9343a5f164a79423e1ae /kernel/sched.c | |
parent | d9d060a98ff89fe0f86e24c9c0c3d2f0c566781c (diff) | |
download | lwn-43714539eab42b2fa3653ea7bd667b36c2291b11.tar.gz lwn-43714539eab42b2fa3653ea7bd667b36c2291b11.zip |
sched: don't export sched_mc_power_savings in laptops
Impact: do not expose a control that has no effect
Fix to prevent sched_mc_power_saving from being exported through sysfs
on single-socket systems. (Say multicore single socket (Laptop))
CPU core map of the boot cpu should be equal to possible number
of cpus for single socket system.
This fix has been developed at FOSS.in kernel workout.
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
0 files changed, 0 insertions, 0 deletions