• M
    mm: mempolicy: Use _PAGE_NUMA to migrate pages · 4daae3b4
    Mel Gorman 提交于
    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: NPeter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: NMel Gorman <mgorman@suse.de>
    4daae3b4
memory.c 112.7 KB