• Andrew Morton's avatar
    [PATCH] Don't reverse the VMA list in touched_by_munmap() · 670fe925
    Andrew Morton authored
    touched_by_munmap() returns a reversed list of VMA's.  That makes things
    harder in the low-latency-page-zapping patch.
    
    So change touched_by_munmap() to return a VMA list which is in the original
    order - ascending virtual addresses.
    
    Oh, and rename it to <hugh>detach_vmas_to_be_unmapped()</hugh>.  It now
    returns nothing, because we know that the VMA we passed in is the head of the
    to-be-unmapped list.
    670fe925
mmap.c 33.5 KB