From: Andrea Arcangeli Date: Tue, 10 Aug 2010 00:19:08 +0000 (-0700) Subject: rmap: always add new vmas at the end X-Git-Tag: v2.6.36-rc1~436 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26ba0cb63cb8df4e45394227f33c938920b11b88;p=pandora-kernel.git 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 Signed-off-by: Rik van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed