• B
    [IA64] align high endpoint of VIRTUAL_MEM_MAP · 921eea1c
    Bob Picco 提交于
    Assure that vmem_map's high endpoint is MAX_ORDER aligned. Not doing so violates
    the buddy allocator algorithm. Also anyone using mem=XXX on boot line and
    not aligned to MAX_ORDER requires this patch in order to satisfy buddy
    allocator. vmem_map always starts at pfn 0. The potentially large MAX_ORDER
    on ia64 (due to hugetlbfs) requires that the end of vmem_map be aligned
    to MAX_ORDER_NR_PAGES.
    
    This was boot tested for: FLATMEM, FLATMEM+VIRTUAL_MEM_MAP,
    DISCONTIGMEM+VIRTUAL_MEM_MAP and SPARSEMEM.
    Signed-off-by: NBob Picco <bob.picco@hp.com>
    Signed-off-by: NTony Luck <tony.luck@intel.com>
    921eea1c
discontig.c 22.3 KB