Hi, This is the ver.2 of page table walker patchset. I rebased it onto the latest mmots (solved conflicts with split PMD locks), and added a few small changes. As for the motivation and/or brief summary, please refer to ver.1's cover letter. http://article.gmane.org/gmane.linux.kernel.mm/108362 Thanks, Naoya Horiguchi --- GitHub: git://github.com/Naoya-Horiguchi/linux.git v3.12-rc7-mmots-2013-10-29-16-24/rewrite_pagewalker.v2 Test code: git://github.com/Naoya-Horiguchi/test_rewrite_page_table_walker.git --- Summary: Naoya Horiguchi (11): pagewalk: update page table walker core pagewalk: add walk_page_vma() smaps: redefine callback functions for page table walker clear_refs: redefine callback functions for page table walker pagemap: redefine callback functions for page table walker numa_maps: redefine callback functions for page table walker memcg: redefine callback functions for page table walker madvise: redefine callback functions for page table walker arch/powerpc/mm/subpage-prot.c: use walk_page_vma() instead of walk_page_range() pagewalk: remove argument hmask from hugetlb_entry() mempolicy: apply page table walker on queue_pages_range() arch/powerpc/mm/subpage-prot.c | 6 +- fs/proc/task_mmu.c | 267 ++++++++++++----------------- include/linux/mm.h | 24 ++- mm/madvise.c | 43 ++--- mm/memcontrol.c | 71 +++----- mm/mempolicy.c | 255 +++++++++++----------------- mm/pagewalk.c | 370 ++++++++++++++++++++++++++--------------- 7 files changed, 501 insertions(+), 535 deletions(-) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>