Revision 8ea959a17fe6e27f7954dddad5b17b0e33f0d7ee authored by Deepthi Dharwar on 03 October 2012, 18:42:18 UTC, committed by Benjamin Herrenschmidt on 17 October 2012, 23:57:24 UTC
smt_snooze_delay was designed to delay idle loop's nap entry in the native idle code before it got ported over to use as part of the cpuidle framework. A -ve value assigned to smt_snooze_delay should result in busy looping, in other words disabling the entry to nap state. - https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-May/082450.html This particular functionality can be achieved currently by echo 1 > /sys/devices/system/cpu/cpu*/state1/disable but it is broken when one assigns -ve value to the smt_snooze_delay variable either via sysfs entry or ppc64_cpu util. This patch aims to fix this, by disabling nap state when smt_snooze_delay variable is set to -ve value. Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
1 parent 817deb0
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1003 bytes |
Makefile | -rw-r--r-- | 321 bytes |
cache.c | -rw-r--r-- | 2.9 KB |
cnode.c | -rw-r--r-- | 4.7 KB |
coda_cache.h | -rw-r--r-- | 673 bytes |
coda_fs_i.h | -rw-r--r-- | 1.8 KB |
coda_int.h | -rw-r--r-- | 437 bytes |
coda_linux.c | -rw-r--r-- | 5.0 KB |
coda_linux.h | -rw-r--r-- | 2.9 KB |
dir.c | -rw-r--r-- | 16.2 KB |
file.c | -rw-r--r-- | 6.2 KB |
inode.c | -rw-r--r-- | 7.2 KB |
pioctl.c | -rw-r--r-- | 2.1 KB |
psdev.c | -rw-r--r-- | 10.2 KB |
symlink.c | -rw-r--r-- | 1.1 KB |
sysctl.c | -rw-r--r-- | 1.3 KB |
upcall.c | -rw-r--r-- | 22.7 KB |
Computing file changes ...