Skip to content
Commit ef694222 authored by Bob Liu's avatar Bob Liu Committed by Linus Torvalds
Browse files

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: default avatarBob Liu <lliubbo@gmail.com>
Acked-by: default avatarHugh Dickins <hughd@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cc9a6c87
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment