These patches have all been posted before and not picked up yet. I've built the folio patches on top of them; while they are not necessarily prerequisites in the conceptual sense, I'm not convinced that the folio patches will build without them. The nth_page patch is purely an efficiency question, while patch 5 ("Make compound_head const-preserving") is required for the current implementation of page_folio(). Patch 8 ("Fix struct page layout on 32-bit systems") is required for the struct folio layout to match struct page layout on said 32-bit systems (arm, mips, ppc). They are on top of next-20210430 Matthew Wilcox (Oracle) (8): mm: Optimise nth_page for contiguous memmap mm: Make __dump_page static mm/debug: Factor PagePoisoned out of __dump_page mm/page_owner: Constify dump_page_owner mm: Make compound_head const-preserving mm: Constify get_pfnblock_flags_mask and get_pfnblock_migratetype mm: Constify page_count and page_ref_count mm: Fix struct page layout on 32-bit systems include/linux/mm.h | 4 ++++ include/linux/mm_types.h | 4 ++-- include/linux/mmdebug.h | 3 +-- include/linux/page-flags.h | 10 +++++----- include/linux/page_owner.h | 6 +++--- include/linux/page_ref.h | 4 ++-- include/linux/pageblock-flags.h | 2 +- include/net/page_pool.h | 12 +++++++++++- mm/debug.c | 25 +++++++------------------ mm/page_alloc.c | 16 ++++++++-------- mm/page_owner.c | 2 +- net/core/page_pool.c | 12 +++++++----- 12 files changed, 52 insertions(+), 48 deletions(-) -- 2.30.2