This patch series reaps some of the benefits of the vm_fault_t work that Souptick has been diligently plugging away at by converting insert_pfn() to return a vm_fault_t. Eventually, we'll be able to do the same thing to insert_page(), but there's more work to be done converting all current callers of vm_insert_page() to vmf_insert_page(), and this patch series provides a nice clean-up. Nicolas, I'd like your reviewed-by on patch 1 please. Matthew Wilcox (10): cramfs: Convert to use vmf_insert_mixed mm: Remove vm_insert_mixed mm: Introduce vmf_insert_pfn_prot x86: Convert vdso to use vm_fault_t mm: Make vm_insert_pfn_prot static mm: Remove references to vm_insert_pfn mm: Remove vm_insert_pfn mm: Inline vm_insert_pfn_prot into caller mm: Convert __vm_insert_mixed to vm_fault_t mm: Convert insert_pfn to vm_fault_t Documentation/x86/pat.txt | 4 +- arch/x86/entry/vdso/vma.c | 24 +++---- fs/cramfs/inode.c | 9 ++- include/asm-generic/pgtable.h | 4 +- include/linux/hmm.h | 2 +- include/linux/mm.h | 32 +-------- mm/memory.c | 122 +++++++++++++++++----------------- 7 files changed, 84 insertions(+), 113 deletions(-) -- 2.18.0