aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2016-03-17 14:20:07 -0700
committerLinus Torvalds <[email protected]>2016-03-17 15:09:34 -0700
commite388466de4a2a1a50c43bfaeacc0c8254d9e7cb2 (patch)
treedecd9831aa60379c8937fd54bade4fd171247ade /lib/cpu-notifier-error-inject.c
parent2a52bcbcc688eecead2953143f7ef695b8e44575 (diff)
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 <[email protected]> Cc: Andrea Arcangeli <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions