From: Rik van Riel Date: Tue, 10 Aug 2010 00:19:48 +0000 (-0700) Subject: rmap: add exclusive page to private anon_vma on swapin X-Git-Tag: v2.6.36-rc1~403 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad8c2ee801ad7a52d919b478d9b2c7b39a72d295;p=pandora-kernel.git rmap: add exclusive page to private anon_vma on swapin On swapin it is fairly common for a page to be owned exclusively by one process. In that case we want to add the page to the anon_vma of that process's VMA, instead of to the root anon_vma. This will reduce the amount of rmap searching that the swapout code needs to do. Signed-off-by: Rik van Riel Cc: Andrea Arcangeli Cc: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed