Revision 3a53396b0381ec9d5180fd8fe7a681c8ce95fd9a authored by ShuoX Liu on 28 March 2012, 22:19:11 UTC, committed by Len Brown on 30 March 2012, 05:52:58 UTC
Some C states of new CPU might be not good.  One reason is BIOS might
configure them incorrectly.  To help developers root cause it quickly, the
patch adds a new sysfs entry, so developers could disable specific C state
manually.

In addition, C state might have much impact on performance tuning, as it
takes much time to enter/exit C states, which might delay interrupt
processing.  With the new debug option, developers could check if a deep C
state could impact performance and how much impact it could cause.

Also add this option in Documentation/cpuidle/sysfs.txt.

[akpm@linux-foundation.org: check kstrtol return value]
Signed-off-by: ShuoX Liu <shuox.liu@intel.com>
Reviewed-by: Yanmin Zhang <yanmin_zhang@intel.com>
Reviewed-and-Tested-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
1 parent 6a6ea0a
History
File Mode Size
Kconfig -rw-r--r-- 813 bytes
Makefile -rw-r--r-- 439 bytes
alarmtimer.c -rw-r--r-- 19.9 KB
clockevents.c -rw-r--r-- 11.3 KB
clocksource.c -rw-r--r-- 26.4 KB
jiffies.c -rw-r--r-- 3.0 KB
ntp.c -rw-r--r-- 24.1 KB
posix-clock.c -rw-r--r-- 8.4 KB
tick-broadcast.c -rw-r--r-- 15.5 KB
tick-common.c -rw-r--r-- 9.5 KB
tick-internal.h -rw-r--r-- 4.6 KB
tick-oneshot.c -rw-r--r-- 2.8 KB
tick-sched.c -rw-r--r-- 22.9 KB
timecompare.c -rw-r--r-- 4.8 KB
timeconv.c -rw-r--r-- 3.5 KB
timekeeping.c -rw-r--r-- 32.8 KB
timer_list.c -rw-r--r-- 7.5 KB
timer_stats.c -rw-r--r-- 9.9 KB

back to top