summaryrefslogtreecommitdiffstats
path: root/Documentation/nommu-mmap.txt
diff options
context:
space:
mode:
authorAndrea Arcangeli2010-08-10 02:19:08 +0200
committerLinus Torvalds2010-08-10 05:44:58 +0200
commit26ba0cb63cb8df4e45394227f33c938920b11b88 (patch)
tree131b785dc7fb0102ee4fc4f56a1ae948b9861501 /Documentation/nommu-mmap.txt
parentmmap: remove unnecessary lock from __vma_link (diff)
downloadkernel-qcow2-linux-26ba0cb63cb8df4e45394227f33c938920b11b88.tar.gz
kernel-qcow2-linux-26ba0cb63cb8df4e45394227f33c938920b11b88.tar.xz
kernel-qcow2-linux-26ba0cb63cb8df4e45394227f33c938920b11b88.zip
rmap: always add new vmas at the end
Make sure to always add new VMAs at the end of the list. This is important so rmap_walk does not miss a VMA that was created during the rmap_walk. The old code got this right most of the time due to luck, but was buggy when anon_vma_prepare reused a mergeable anon_vma. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/nommu-mmap.txt')
0 files changed, 0 insertions, 0 deletions