Skip to content

Large pages in the page cache

Matthew Wilcox linux-fsdevel linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: Add __page_cache_alloc_orderinclude/linux/pagemap.h mm/filemap.c+18 -73 replies
2/3mm: Allow large pages to be added to the page cachemm/filemap.c+28 -113 replies
3/3mm: Allow find_get_page to be used for large pagesinclude/linux/pagemap.h mm/filemap.c+84 -77 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchSong Liu
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Large pages in the page cache

From: "Matthew Wilcox (Oracle)" <[email protected]>

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(-)
Signature · 1 line
2.23.0.rc1