• Andrew Morton's avatar
    [PATCH] mremap: copy_one_pte cleanup · 209b450c
    Andrew Morton authored
    From: Hugh Dickins <hugh@veritas.com>
    
    Clean up mremap move's copy_one_pte:
    
    - get_one_pte_map_nested already weeded out the pte_none case,
      now don't even call copy_one_pte if it has nothing to do.
    
    - check pfn_valid before passing page to page_remove_rmap.
    209b450c
mremap.c 11.4 KB