aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAndrea Arcangeli <[email protected]>2010-09-22 13:05:12 -0700
committerLinus Torvalds <[email protected]>2010-09-22 17:22:39 -0700
commita247c3a97a0216b18a46243eda26081f1928ec37 (patch)
treeecf6996b252e9cc818d170eba4b8eb25aac3d596 /net/unix/sysctl_net_unix.c
parentdf08cdc7ef606509debe7677c439be0ca48790e4 (diff)
rmap: fix walk during fork
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 <[email protected]> Acked-by: Johannes Weiner <[email protected]> Acked-by: Rik van Riel <[email protected]> Acked-by: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions