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-- | 2.9 KB |
Makefile | -rw-r--r-- | 483 bytes |
acl.c | -rw-r--r-- | 10.1 KB |
acl.h | -rw-r--r-- | 1.5 KB |
balloc.c | -rw-r--r-- | 23.1 KB |
bitmap.c | -rw-r--r-- | 2.8 KB |
block_validity.c | -rw-r--r-- | 6.7 KB |
dir.c | -rw-r--r-- | 16.3 KB |
ext4.h | -rw-r--r-- | 87.7 KB |
ext4_extents.h | -rw-r--r-- | 10.1 KB |
ext4_jbd2.c | -rw-r--r-- | 4.1 KB |
ext4_jbd2.h | -rw-r--r-- | 13.6 KB |
extents.c | -rw-r--r-- | 134.7 KB |
file.c | -rw-r--r-- | 9.3 KB |
fsync.c | -rw-r--r-- | 5.2 KB |
hash.c | -rw-r--r-- | 4.4 KB |
ialloc.c | -rw-r--r-- | 33.4 KB |
indirect.c | -rw-r--r-- | 44.5 KB |
inode.c | -rw-r--r-- | 139.9 KB |
ioctl.c | -rw-r--r-- | 11.3 KB |
mballoc.c | -rw-r--r-- | 137.9 KB |
mballoc.h | -rw-r--r-- | 5.4 KB |
migrate.c | -rw-r--r-- | 14.8 KB |
mmp.c | -rw-r--r-- | 9.9 KB |
move_extent.c | -rw-r--r-- | 44.4 KB |
namei.c | -rw-r--r-- | 82.6 KB |
page-io.c | -rw-r--r-- | 12.9 KB |
resize.c | -rw-r--r-- | 57.0 KB |
super.c | -rw-r--r-- | 150.2 KB |
symlink.c | -rw-r--r-- | 1.4 KB |
truncate.h | -rw-r--r-- | 1.2 KB |
xattr.c | -rw-r--r-- | 43.7 KB |
xattr.h | -rw-r--r-- | 4.5 KB |
xattr_security.c | -rw-r--r-- | 2.1 KB |
xattr_trusted.c | -rw-r--r-- | 1.5 KB |
xattr_user.c | -rw-r--r-- | 1.6 KB |
Computing file changes ...