diff options
author | Kirill A. Shutemov | 2015-04-14 15:44:45 -0700 |
---|---|---|
committer | Linus Torvalds | 2015-04-14 16:49:00 -0700 |
commit | acc3c8d15eed6b68c7edf5bfaea884753aaa8e85 (patch) | |
tree | dc5b43408fd72cfd45ac82d1af7c99af7e4e3466 /mm/kmemleak-test.c | |
parent | c561259ca79a88be540a75e84b45d49123014aa4 (diff) |
mm: move mm_populate()-related code to mm/gup.c
It's odd that we have populate_vma_page_range() and __mm_populate() in
mm/mlock.c. It's implementation of generic memory population and mlocking
is one of possible side effect, if VM_LOCKED is set.
__get_user_pages() is core of the implementation. Let's move the code
into mm/gup.c.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/kmemleak-test.c')
0 files changed, 0 insertions, 0 deletions