[PATCH 0/4] mm: misc cleanups from __GFP_UNMAPPED series

From: Brendan Jackman

Date: Wed May 13 2026 - 08:39:19 EST


In v2 of the __GFP_UNMAPPED series [0], we realised that some of the patches
could potentially be merged as independent cleanups.

These are all independent of one another, if you think some are useful
cleanups and others are pointless churn, it should be fine to just pick
whatever subset you prefer.

No functional change intended.

[0]: https://lore.kernel.org/all/20260320-page_alloc-unmapped-v2-0-28bf1bd54f41@xxxxxxxxxx/

Signed-off-by: Brendan Jackman <jackmanb@xxxxxxxxxx>
---
Brendan Jackman (4):
mm: introduce for_each_free_list()
mm/page_alloc: don't overload migratetype in find_suitable_fallback()
mm: rejig pageblock mask definitions
mm/page_alloc: remove ifdefs from pindex helpers

include/linux/mmzone.h | 9 +++--
include/linux/pageblock-flags.h | 6 +--
kernel/power/snapshot.c | 8 ++--
mm/compaction.c | 3 +-
mm/internal.h | 14 +++++--
mm/mm_init.c | 11 ++++--
mm/page_alloc.c | 88 +++++++++++++++++++++--------------------
7 files changed, 79 insertions(+), 60 deletions(-)
---
base-commit: 30424114b17dd65c098749cedcaef301c1dd2f86
change-id: 20260512-page_alloc-unmapped-prep-c3ae0381d58b

Best regards,
--
Brendan Jackman <jackmanb@xxxxxxxxxx>