summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorBart Samwel <bart@samwel.tk>2006-03-24 12:15:48 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 16:33:20 +0100
commitf6ef943813ac3085ece7252ea101d663581219f6 (patch)
treee32d3e57ba6ae235ec1f510b16d77fe9bfa8f96e /sound
parent[PATCH] free_uid() locking improvement (diff)
downloadlinux-f6ef943813ac3085ece7252ea101d663581219f6.tar.xz
linux-f6ef943813ac3085ece7252ea101d663581219f6.zip
[PATCH] Represent dirty_*_centisecs as jiffies internally
Make that the internal values for: /proc/sys/vm/dirty_writeback_centisecs /proc/sys/vm/dirty_expire_centisecs are stored as jiffies instead of centiseconds. Let the sysctl interface do the conversions with full precision using clock_t_to_jiffies, instead of doing overflow-sensitive on-the-fly conversions every time the values are used. Cons: apparent precision loss if HZ is not a multiple of 100, because of conversion back and forth. This is a common problem for all sysctl values that use proc_dointvec_userhz_jiffies. (There is only one other in-tree use, in net/core/neighbour.c.) Signed-off-by: Bart Samwel <bart@samwel.tk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions