Revision a247c3a97a0216b18a46243eda26081f1928ec37 authored by Andrea Arcangeli on 22 September 2010, 20:05:12 UTC, committed by Linus Torvalds on 23 September 2010, 00:22:39 UTC
The below bug in fork led to the rmap walk finding the parent huge-pmd twice instead of just once, because the anon_vma_chain objects of the child vma still point to the vma->vm_mm of the parent. The patch fixes it by making the rmap walk accurate during fork. It's not a big deal normally but it worth being accurate considering the cost is the same. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Acked-by: Johannes Weiner <jweiner@redhat.com> Acked-by: Rik van Riel <riel@redhat.com> Acked-by: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent df08cdc
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.7 KB |
Makefile | -rw-r--r-- | 199 bytes |
balloc.c | -rw-r--r-- | 27.2 KB |
cylinder.c | -rw-r--r-- | 5.7 KB |
dir.c | -rw-r--r-- | 16.2 KB |
file.c | -rw-r--r-- | 1008 bytes |
ialloc.c | -rw-r--r-- | 9.2 KB |
inode.c | -rw-r--r-- | 25.9 KB |
namei.c | -rw-r--r-- | 7.7 KB |
super.c | -rw-r--r-- | 42.9 KB |
swab.h | -rw-r--r-- | 2.5 KB |
symlink.c | -rw-r--r-- | 1.2 KB |
truncate.c | -rw-r--r-- | 12.8 KB |
ufs.h | -rw-r--r-- | 5.0 KB |
ufs_fs.h | -rw-r--r-- | 34.6 KB |
util.c | -rw-r--r-- | 6.1 KB |
util.h | -rw-r--r-- | 16.4 KB |
Computing file changes ...