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
..
2008-01-07 14:55:37 -08:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-11-14 18:45:37 -08:00
2007-10-18 14:37:24 -07:00
2008-02-05 09:44:18 -08:00
2008-02-05 09:44:07 -08:00
2007-10-18 14:37:26 -07:00
2008-01-25 21:08:29 +01:00
2007-07-16 09:05:50 -07:00
2006-12-04 02:00:22 -05:00
2008-01-25 21:08:34 +01:00
2007-12-06 17:37:59 -05:00
2007-10-19 11:53:34 -07:00
2007-11-14 18:45:43 -08:00
2008-02-05 09:44:07 -08:00
2008-01-25 21:08:33 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:25 +01:00
2007-07-16 09:05:49 -07:00
2007-07-16 09:05:50 -07:00
2008-02-02 14:27:45 +11:00
2008-01-30 13:31:20 +01:00
2008-02-05 09:44:07 -08:00
2007-12-06 17:34:36 -05:00