Files
kernel_xiaomi_sm8250/include/linux
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
..
2006-03-21 08:52:18 -08:00
2006-02-22 09:32:46 +00:00
2006-03-20 22:35:41 -08:00
2006-03-24 07:33:20 -08:00
2006-03-23 07:38:09 -08:00
2006-03-20 13:42:59 -08:00
2006-03-22 10:53:19 +01:00
2006-03-20 17:09:11 -08:00
2006-03-20 22:41:23 -08:00
2006-03-20 22:21:10 -08:00
2006-03-20 13:42:59 -08:00
2006-03-23 07:38:12 -08:00
2006-03-22 19:13:54 -05:00
2006-03-23 07:38:12 -08:00
2006-03-22 07:54:06 -08:00
2006-03-22 07:53:57 -08:00
2006-03-22 07:54:02 -08:00
2006-03-23 07:38:13 -08:00
2006-03-23 07:38:14 -08:00
2006-03-23 07:38:14 -08:00
2006-03-20 22:32:28 -08:00
2006-03-08 14:14:01 -08:00
2006-03-23 07:38:11 -08:00
2006-03-22 07:53:55 -08:00
2006-03-20 22:41:23 -08:00
2006-03-23 07:38:12 -08:00
2006-03-20 22:41:23 -08:00
2006-03-23 07:38:07 -08:00
2006-03-23 07:38:16 -08:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:14 -08:00
2006-03-21 08:52:18 -08:00
2006-03-23 07:12:57 -05:00