The patch titled Subject: mmzone: introduce folio_is_zone_movable() has been added to the -mm mm-unstable branch. Its filename is mmzone-introduce-folio_is_zone_movable.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mmzone-introduce-folio_is_zone_movable.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: "Vishal Moola (Oracle)" <vishal.moola@xxxxxxxxx> Subject: mmzone: introduce folio_is_zone_movable() Date: Tue, 13 Jun 2023 19:13:08 -0700 Patch series "Replace is_longterm_pinnable_page()", v2. This patchset introduces some more helper functions for the folio conversions, and converts all callers of is_longterm_pinnable_page() to use folios. This patch (of 5): Introduce folio_is_zone_movable() to act as a folio equivalent for is_zone_movable_page(). This is to assist in later folio conversions. Link: https://lkml.kernel.org/r/20230614021312.34085-1-vishal.moola@xxxxxxxxx Link: https://lkml.kernel.org/r/20230614021312.34085-2-vishal.moola@xxxxxxxxx Signed-off-by: Vishal Moola (Oracle) <vishal.moola@xxxxxxxxx> Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/mmzone.h | 5 +++++ 1 file changed, 5 insertions(+) --- a/include/linux/mmzone.h~mmzone-introduce-folio_is_zone_movable +++ a/include/linux/mmzone.h @@ -1116,6 +1116,11 @@ static inline bool is_zone_movable_page( { return page_zonenum(page) == ZONE_MOVABLE; } + +static inline bool folio_is_zone_movable(const struct folio *folio) +{ + return folio_zonenum(folio) == ZONE_MOVABLE; +} #endif /* _ Patches currently in -mm which might be from vishal.moola@xxxxxxxxx are afs-fix-dangling-folio-ref-counts-in-writeback.patch afs-fix-waiting-for-writeback-then-skipping-folio.patch mmzone-introduce-folio_is_zone_movable.patch mmzone-introduce-folio_migratetype.patch mm-gup_testc-convert-verify_dma_pinned-to-us-folios.patch mm-gupc-reorganize-try_get_folio.patch mm-remove-is_longterm_pinnable_page-and-reimplement-folio_is_longterm_pinnable.patch