• R
    [IA64] Make show_mem() skip holes in a pgdat · ace1d816
    Robin Holt 提交于
    This patch modifies ia64's show_mem() to walk the vmem_map page tables and
    rapidly skip forward across regions where the page tables are missing.
    This prevents the pfn_valid() check from causing numerous unnecessary
    page faults.
    
    Without this patch on a 512 node 512 cpu system where every node has four
    memory holes, the show_mem() call takes 1 hour 18 minutes.  With this
    patch, it takes less than 3 seconds.
    Signed-off-by: NRobin Holt <holt@sgi.com>
    Signed-off-by: NTony Luck <tony.luck@intel.com>
    ace1d816
discontig.c 21.7 KB