From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx> These are all things that I noticed while working on the THP patches, but all stand alone as useful MM cleanups. Andrew, please consider applying. They're not really related to each other, so cherry-pick if you like. Matthew Wilcox (Oracle) (6): mm: Use vm_fault error code directly mm: Optimise find_subpage for !THP mm: Remove CONFIG_TRANSPARENT_HUGE_PAGECACHE mm: Use VM_BUG_ON_PAGE in clear_page_dirty_for_io mm: Unexport find_get_entry mm: Rewrite pagecache_get_page documentation include/linux/pagemap.h | 15 +++++++++----- include/linux/shmem_fs.h | 10 +-------- mm/Kconfig | 6 +----- mm/filemap.c | 44 ++++++++++++++++++---------------------- mm/huge_memory.c | 2 +- mm/khugepaged.c | 10 ++------- mm/memory.c | 5 ++--- mm/page-writeback.c | 2 +- mm/rmap.c | 2 +- mm/shmem.c | 36 ++++++++++++++++---------------- 10 files changed, 57 insertions(+), 75 deletions(-) -- 2.25.1