• Mel Gorman's avatar
    mm: meminit: remove mminit_verify_page_links · 74033a79
    Mel Gorman authored
    
    
    mminit_verify_page_links() is an extremely paranoid check that was
    introduced when memory initialisation was being heavily reworked.
    Profiles indicated that up to 10% of parallel memory initialisation was
    spent on checking this for every page.  The cost could be reduced but in
    practice this check only found problems very early during the
    initialisation rewrite and has found nothing since.  This patch removes an
    expensive unnecessary check.
    Signed-off-by: default avatarMel Gorman <mgorman@suse.de>
    Tested-by: default avatarNate Zimmer <nzimmer@sgi.com>
    Tested-by: default avatarWaiman Long <waiman.long@hp.com>
    Tested-by: default avatarDaniel J Blueman <daniel@numascale.com>
    Acked-by: default avatarPekka Enberg <penberg@kernel.org>
    Cc: Robin Holt <robinmholt@gmail.com>
    Cc: Nate Zimmer <nzimmer@sgi.com>
    Cc: Dave Hansen <dave.hansen@intel.com>
    Cc: Waiman Long <waiman.long@hp.com>
    Cc: Scott Norton <scott.norton@hp.com>
    Cc: "Luck, Tony" <tony.luck@intel.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Thomas...
    74033a79
mm_init.c 4.87 KB