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
History
File Mode Size
CREDITS -rw-r--r-- 7.2 KB
URB.txt -rw-r--r-- 9.4 KB
WUSB-Design-overview.txt -rw-r--r-- 17.8 KB
acm.txt -rw-r--r-- 4.9 KB
anchors.txt -rw-r--r-- 2.6 KB
authorization.txt -rw-r--r-- 2.6 KB
bulk-streams.txt -rw-r--r-- 3.2 KB
callbacks.txt -rw-r--r-- 4.7 KB
dma.txt -rw-r--r-- 5.9 KB
ehci.txt -rw-r--r-- 9.6 KB
error-codes.txt -rw-r--r-- 6.0 KB
gadget_hid.txt -rw-r--r-- 11.1 KB
gadget_multi.txt -rw-r--r-- 5.4 KB
gadget_printer.txt -rw-r--r-- 10.7 KB
gadget_serial.txt -rw-r--r-- 11.2 KB
hiddev.txt -rw-r--r-- 8.9 KB
hotplug.txt -rw-r--r-- 6.3 KB
iuu_phoenix.txt -rw-r--r-- 2.7 KB
linux-cdc-acm.inf -rw-r--r-- 3.2 KB
linux.inf -rw-r--r-- 2.2 KB
misc_usbsevseg.txt -rw-r--r-- 1.5 KB
mtouchusb.txt -rw-r--r-- 2.7 KB
ohci.txt -rw-r--r-- 1.5 KB
persist.txt -rw-r--r-- 7.4 KB
power-management.txt -rw-r--r-- 21.1 KB
proc_usb_info.txt -rw-r--r-- 14.7 KB
rio.txt -rw-r--r-- 4.3 KB
usb-help.txt -rw-r--r-- 495 bytes
usb-serial.txt -rw-r--r-- 19.1 KB
usbmon.txt -rw-r--r-- 14.5 KB
wusb-cbaf -rw-r--r-- 3.2 KB

back to top