[PATCH v3 00/13] pagewalk: improve vma handling, apply to new users

Naoya Horiguchi
2014-06-20T20:12:06Z

This series is ver.3 of page table walker patchset.
In previous discussion I got an objection of moving pte handling code to
->pte_entry() callback, so in this version I've dropped all of such code.

The patchset mainly does fixing vma handling and applying page walker to
2 new users. Here is a brief overview:
patch 1: clean up
patch 2: fix bug-prone vma handling code
patch 3: add another interface of page walker
patch 4-10: clean up each of existing user
patch 11: apply page walker to new user queue_pages_range()
patch 12: allow clear_refs_pte_range() to handle thp (from Kirill)
patch 13: apply page walker to new user do_mincore()

Thanks,
Naoya Horiguchi

Tree: git@github.com:Naoya-Horiguchi/linux.git
Branch: v3.16-rc1/page_table_walker.ver3
---
Summary:

Kirill A. Shutemov (1):
mm: /proc/pid/clear_refs: avoid split_huge_page()

Naoya Horiguchi (12):
mm/pagewalk: remove pgd_entry() and pud_entry()
pagewalk: improve vma handling
pagewalk: add walk_page_vma()
smaps: remove mem_size_stats->vma and use walk_page_vma()
clear_refs: remove clear_refs_private->vma and introduce clear_refs_test_walk()
pagemap: use walk->vma instead of calling find_vma()
numa_maps: remove numa_maps->vma
numa_maps: fix typo in gather_hugetbl_stats
memcg: apply walk_page_vma()
arch/powerpc/mm/subpage-prot.c: use walk->vma and walk_page_vma()
mempolicy: apply page table walker on queue_pages_range()
mincore: apply page table walker on do_mincore()

arch/powerpc/mm/subpage-prot.c | 6 +-
fs/proc/task_mmu.c | 143 ++++++++++++++++----------
include/linux/mm.h | 22 ++--
mm/huge_memory.c | 20 ----
mm/memcontrol.c | 36 +++----
mm/mempolicy.c | 228 +++++++++++++++++------------------------
mm/mincore.c | 174 ++++++++++++-------------------
mm/pagewalk.c | 223 ++++++++++++++++++++++++----------------
8 files changed, 406 insertions(+), 446 deletions(-)