Bron Gondwana 195cf453d2 mm/page-writeback: highmem_is_dirtyable option
Add vm.highmem_is_dirtyable toggle

A 32 bit machine with HIGHMEM64 enabled running DCC has an MMAPed file of
approximately 2Gb size which contains a hash format that is written
randomly by the dbclean process.  On 2.6.16 this process took a few
minutes.  With lowmem only accounting of dirty ratios, this takes about 12
hours of 100% disk IO, all random writes.

Include a toggle in /proc/sys/vm/highmem_is_dirtyable which can be set to 1 to
add the highmem back to the total available memory count.

[akpm@linux-foundation.org: Fix the CONFIG_DETECT_SOFTLOCKUP=y build]
Signed-off-by: Bron Gondwana <brong@fastmail.fm>
Cc: Ethan Solomita <solo@google.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: WU Fengguang <wfg@mail.ustc.edu.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-05 09:44:18 -08:00
..
2007-10-23 13:47:31 -05:00
2006-11-30 04:58:40 +01:00
2005-11-22 09:14:30 -08:00
2006-10-03 22:54:15 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-03 22:47:42 +02:00
2007-10-22 08:13:21 -07:00
2006-10-03 22:52:05 +02:00
2007-10-20 02:38:36 +02:00
2006-12-30 10:56:45 -08:00
2006-04-25 15:44:04 -04:00
2005-04-16 15:20:36 -07:00
2007-07-31 15:39:38 -07:00
2007-05-09 08:58:15 +02:00
2006-03-22 00:13:35 +01:00
2005-04-16 15:20:36 -07:00
2007-10-12 09:16:30 -07:00
2007-10-17 08:42:56 -07:00
2008-02-03 16:30:51 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-11-30 04:58:40 +01:00
2007-02-17 19:23:03 +01:00
2006-12-07 08:39:44 -08:00
2007-02-12 09:48:40 -08:00
2005-11-03 13:46:43 +11:00
2007-05-09 08:58:15 +02:00