diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2016-03-18 00:20:07 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-18 01:09:34 +0300 |
commit | e388466de4a2a1a50c43bfaeacc0c8254d9e7cb2 (patch) | |
tree | decd9831aa60379c8937fd54bade4fd171247ade /mm/bootmem.c | |
parent | 2a52bcbcc688eecead2953143f7ef695b8e44575 (diff) | |
download | linux-e388466de4a2a1a50c43bfaeacc0c8254d9e7cb2.tar.xz |
mm: make remove_migration_ptes() beyond mm/migration.c
Make remove_migration_ptes() available to be used in split_huge_page().
New parameter 'locked' added: as with try_to_umap() we need a way to
indicate that caller holds rmap lock.
We also shouldn't try to mlock() pte-mapped huge pages: pte-mapeed THP
pages are never mlocked.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.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/bootmem.c')
0 files changed, 0 insertions, 0 deletions