]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] mm: highmem watermarks
authorNick Piggin <nickpiggin@yahoo.com.au>
Mon, 14 Nov 2005 00:06:45 +0000 (16:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 14 Nov 2005 02:14:12 +0000 (18:14 -0800)
commit6fd6b2fbcdff405c367c561158fe56e19a0f312a
tree9a4c037120b7a85943c37115be9f4a6eacb28874
parent9948d32706bb635ba5065e97eff27e89d2c5ccdb
[PATCH] mm: highmem watermarks

The pages_high - pages_low and pages_low - pages_min deltas are the asynch
reclaim watermarks.  As such, the should be in the same ratios as any other
zone for highmem zones.  It is the pages_min - 0 delta which is the
PF_MEMALLOC reserve, and this is the region that isn't very useful for
highmem.

This patch ensures highmem systems have similar characteristics as non highmem
ones with the same amount of memory, and also that highmem zones get similar
reclaim pressures to other zones.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c