• Nick Piggin's avatar
    [PATCH] mm: highmem watermarks · 669ed175
    Nick Piggin authored
    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: default avatarNick Piggin <npiggin@suse.de>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    669ed175
page_alloc.c 63.5 KB