• Andrew Morton's avatar
    [PATCH] fix the fix for unmap_vmas & hugepages · 4403ea4b
    Andrew Morton authored
    Patch from Kevin Pedretti <pedretti@ieee.org>
    
    The previous fix for unmapping hugetlb regions could still produce incorrect
    alignments if the munmap request covers multiple VMA's.
    
    Fix it by always unmapped the entire hugepage VMA inside the inner loop.
    4403ea4b
memory.c 39.1 KB