commit | ef6942224a185c9e434f6cfe69fe434e732f5b38 | [log] [tgz] |
---|---|---|
author | Bob Liu <lliubbo@gmail.com> | Wed Mar 21 16:34:11 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Mar 21 17:54:59 2012 -0700 |
tree | e26664dbfd6077129d75f555757d36b5fbec43c2 | |
parent | cc9a6c8776615f9c194ccf0b63a0aa5628235545 [diff] |
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 <lliubbo@gmail.com> Acked-by: Hugh Dickins <hughd@google.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>