diff options
author | Bob Liu <lliubbo@gmail.com> | 2012-03-21 16:34:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-21 17:54:59 -0700 |
commit | ef6942224a185c9e434f6cfe69fe434e732f5b38 (patch) | |
tree | e26664dbfd6077129d75f555757d36b5fbec43c2 /mm/fadvise.c | |
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>
Diffstat (limited to 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions