From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx> Michael Hocko's reaction to Bill's implementation of filemap_huge_fault was "convoluted so much I cannot wrap my head around it". This spurred me to finish up something I'd been working on in the background prompted by Kirill's desire to be able to allocate large page cache pages in paths other than the fault handler. This is in no sense complete as there's nothing in this patch series which actually uses FGP_PMD. It should remove a lot of the complexity from a future filemap_huge_fault() implementation and make it possible to allocate larger pages in the read/write paths in future. Matthew Wilcox (Oracle) (3): mm: Add __page_cache_alloc_order mm: Allow large pages to be added to the page cache mm: Allow find_get_page to be used for large pages include/linux/pagemap.h | 23 ++++++- mm/filemap.c | 132 +++++++++++++++++++++++++++++++++------- 2 files changed, 130 insertions(+), 25 deletions(-) -- 2.23.0.rc1