Skip to content
  • Mel Gorman's avatar
    [PATCH] Account for memmap and optionally the kernel image as holes · 0e0b864e
    Mel Gorman authored
    
    
    The x86_64 code accounted for memmap and some portions of the the DMA zone as
    holes.  This was because those areas would never be reclaimed and accounting
    for them as memory affects min watermarks.  This patch will account for the
    memmap as a memory hole.  Architectures may optionally use set_dma_reserve()
    if they wish to account for a portion of memory in ZONE_DMA as a hole.
    
    Signed-off-by: default avatarMel Gorman <mel@csn.ul.ie>
    Cc: Dave Hansen <haveblue@us.ibm.com>
    Cc: Andy Whitcroft <apw@shadowen.org>
    Cc: Andi Kleen <ak@muc.de>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: "Keith Mannthey" <kmannth@gmail.com>
    Cc: "Luck, Tony" <tony.luck@intel.com>
    Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    0e0b864e