summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorKirill A. Shutemov2017-02-24 23:57:57 +0100
committerLinus Torvalds2017-02-25 02:46:55 +0100
commitf27176cfc363d395eea8dc5c4a26e5d6d7d65eaf (patch)
treef470459d19b549de9141a79a076d386305927e8d /mm/huge_memory.c
parentmm, rmap: check all VMAs that PTE-mapped THP can be part of (diff)
downloadkernel-qcow2-linux-f27176cfc363d395eea8dc5c4a26e5d6d7d65eaf.tar.gz
kernel-qcow2-linux-f27176cfc363d395eea8dc5c4a26e5d6d7d65eaf.tar.xz
kernel-qcow2-linux-f27176cfc363d395eea8dc5c4a26e5d6d7d65eaf.zip
mm: convert page_mkclean_one() to use page_vma_mapped_walk()
For consistency, it worth converting all page_check_address() to page_vma_mapped_walk(), so we could drop the former. PMD handling here is future-proofing, we don't have users yet. ext4 with huge pages will be the first. Link: http://lkml.kernel.org/r/20170129173858.45174-7-kirill.shutemov@linux.intel.com Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Hillf Danton <hillf.zj@alibaba-inc.com> Cc: Hugh Dickins <hughd@google.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rik van Riel <riel@redhat.com> Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Cc: Vladimir Davydov <vdavydov.dev@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions