Searched hist:ed5b43f15a8e86e3ae939b98bc161ee973ecedf2 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/mm/ |
H A D | page-writeback.c | diff ed5b43f15a8e86e3ae939b98bc161ee973ecedf2 Fri Mar 24 05:15:49 CST 2006 Bart Samwel <bart@samwel.tk> [PATCH] Represent laptop_mode as jiffies internally
Make that the internal value for /proc/sys/vm/laptop_mode is stored as jiffies instead of seconds. Let the sysctl interface do the conversions, instead of doing on-the-fly conversions every time the value is used.
Add a description of the fact that laptop_mode doubles as a flag and a timeout to the comment above the laptop_mode variable.
Signed-off-by: Bart Samwel <bart@samwel.tk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
/openbmc/linux/kernel/ |
H A D | sysctl.c | diff ed5b43f15a8e86e3ae939b98bc161ee973ecedf2 Fri Mar 24 05:15:49 CST 2006 Bart Samwel <bart@samwel.tk> [PATCH] Represent laptop_mode as jiffies internally
Make that the internal value for /proc/sys/vm/laptop_mode is stored as jiffies instead of seconds. Let the sysctl interface do the conversions, instead of doing on-the-fly conversions every time the value is used.
Add a description of the fact that laptop_mode doubles as a flag and a timeout to the comment above the laptop_mode variable.
Signed-off-by: Bart Samwel <bart@samwel.tk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|