• Yinghai Lu's avatar
    mm, x86: shrink_active_range() should check all · cc1a9d86
    Yinghai Lu authored
    Now we are using register_e820_active_regions() instead of
    add_active_range() directly. So end_pfn could be different between the
    value in early_node_map to node_end_pfn.
    
    So we need to make shrink_active_range() smarter.
    
    shrink_active_range() is a generic MM function in mm/page_alloc.c but
    it is only used on 32-bit x86. Should we move it back to some file in
    arch/x86?
    Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    cc1a9d86
page_alloc.c 126 KB