• Hugh Dickins's avatar
    [PATCH] ptwalk: sync_page_range · 64a43fe2
    Hugh Dickins authored
    Convert filemap_sync pagetable walkers to loops using p?d_addr_end; use
    similar loop to split filemap_sync into chunks.  Merge filemap_sync_pte
    into sync_pte_range, cut filemap_ off the longer names, vma arg first.
    
    There is no error from filemap_sync, nor is any use made of the flags:
    if it should do something else for MS_INVALIDATE, reinstate it when that
    is implemented.  Remove the redundant flush_tlb_range from afterwards:
    as its comment noted, each dirty pte has already been flushed.
    Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    64a43fe2
msync.c 5.51 KB