kernel-ark/include
Bart Samwel f6ef943813 [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>
2006-03-24 07:33:20 -08:00
..
acpi
asm-alpha [PATCH] remove ISA legacy functions: remove the helpers 2006-03-24 07:33:19 -08:00
asm-arm [PATCH] remove ISA legacy functions: remove the helpers 2006-03-24 07:33:19 -08:00
asm-arm26
asm-cris
asm-frv
asm-generic
asm-h8300
asm-i386 [PATCH] remove ISA legacy functions: remove the helpers 2006-03-24 07:33:19 -08:00
asm-ia64
asm-m32r
asm-m68k
asm-m68knommu
asm-mips [PATCH] remove ISA legacy functions: remove the helpers 2006-03-24 07:33:19 -08:00
asm-parisc [PATCH] remove ISA legacy functions: remove the helpers 2006-03-24 07:33:19 -08:00
asm-powerpc
asm-ppc
asm-s390 [PATCH] s390: BUG() warnings 2006-03-24 07:33:16 -08:00
asm-sh [PATCH] remove ISA legacy functions: remove the helpers 2006-03-24 07:33:19 -08:00
asm-sh64
asm-sparc
asm-sparc64
asm-um
asm-v850
asm-x86_64 [PATCH] remove ISA legacy functions: remove the helpers 2006-03-24 07:33:19 -08:00
asm-xtensa
keys
linux [PATCH] Represent dirty_*_centisecs as jiffies internally 2006-03-24 07:33:20 -08:00
math-emu
media
mtd
net
pcmcia
rdma
rxrpc
scsi
sound
video