path: root/arch/arm64
diff options
authorHugh Dickins <>2016-05-19 17:12:57 -0700
committerLinus Torvalds <>2016-05-19 19:12:14 -0700
commit1d069b7dd56728a0eb6acb138dce0d37600dee00 (patch)
tree29a891a8640bbf0356037d39a115e6ca7a995a75 /arch/arm64
parentbf8616d5fa179d6c755f06726567c6d63c6fbbc7 (diff)
huge pagecache: extend mremap pmd rmap lockout to files
Whatever huge pagecache implementation we go with, file rmap locking must be added to anon rmap locking, when mremap's move_page_tables() finds a pmd_trans_huge pmd entry: a simple change, let's do it now. Factor out take_rmap_locks() and drop_rmap_locks() to handle the locking for make move_ptes() and move_page_tables(), and delete the VM_BUG_ON_VMA which rejected vm_file and required anon_vma. Signed-off-by: Hugh Dickins <> Cc: "Kirill A. Shutemov" <> Cc: Andrea Arcangeli <> Cc: Andres Lagar-Cavilla <> Cc: Yang Shi <> Cc: Ning Qu <> Cc: Mel Gorman <> Cc: Andres Lagar-Cavilla <> Cc: Konstantin Khlebnikov <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions