]> git.hungrycats.org Git - linux/commit
[PATCH] fix the fix for unmap_vmas & hugepages
authorAndrew Morton <akpm@digeo.com>
Sun, 16 Mar 2003 15:22:24 +0000 (07:22 -0800)
committerDave Jones <davej@codemonkey.org.uk>
Sun, 16 Mar 2003 15:22:24 +0000 (07:22 -0800)
commit4403ea4be116b968bfed79dbde0ba9786c25249a
tree03af8d93436097cb270fce382804091e8ac416af
parent585c3653d533d01ab39ee90d50824395c3294ee7
[PATCH] fix the fix for unmap_vmas & hugepages

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.
mm/memory.c