• Mel Gorman's avatar
    mm: mempolicy: Use _PAGE_NUMA to migrate pages · 4daae3b4
    Mel Gorman authored
    Note: Based on "mm/mpol: Use special PROT_NONE to migrate pages" but
    	sufficiently different that the signed-off-bys were dropped
    
    Combine our previous _PAGE_NUMA, mpol_misplaced and migrate_misplaced_page()
    pieces into an effective migrate on fault scheme.
    
    Note that (on x86) we rely on PROT_NONE pages being !present and avoid
    the TLB flush from try_to_unmap(TTU_MIGRATION). This greatly improves the
    page-migration performance.
    Based-on-work-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: default avatarMel Gorman <mgorman@suse.de>
    4daae3b4
memory.c 113 KB