From: Bob Liu Date: Wed, 21 Mar 2012 23:34:11 +0000 (-0700) Subject: ksm: cleanup: introduce find_mergeable_vma() X-Git-Tag: v3.4-rc1~158^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef6942224a185c9e434f6cfe69fe434e732f5b38;p=pandora-kernel.git ksm: cleanup: introduce find_mergeable_vma() There are multiple places which perform the same check. Add a new find_mergeable_vma() to handle this. Signed-off-by: Bob Liu Acked-by: Hugh Dickins Cc: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed