[PATCH v2 0/3] mm/page_alloc: get_page_from_freelist cleanups
From: Joshua Hahn
Date: Mon Nov 16 2026 - 18:23:53 EST
v1 --> v2:
==========
- Typo fix (s/patern/pattern) as pointed out by SJ Park
- Wordsmithing kswapd waitqueue condition as pointed out by Chris Down
- Collect signatures
- No code changes
3 cleanups for vmscan and page_alloc code. The primary goal is to make
get_page_from_freelist a bit easier to read, especially after the new
kswapd zone skip conditions [1].
1/3 is just a nice cleanup that I found along the way.
Based on the latest page_alloc/for-next branch as of 11/13/2026.
Notably, there is a dependency on the aforementioned kswapd zone skip,
677dfdfad244a "mm/page_alloc: only skip kswapd nodes below their kswapd
watermark".
No functional changes intended.
[1] https://lore.kernel.org/all/CAN+CAwNsqWpPoag_XE6bxbrfi6m71xw1NS_wc3h_ShZjNspSjg@xxxxxxxxxxxxxx/
Joshua Hahn (3):
mm/page_alloc: drop unused gfp_mask from zone_watermark_fast()
mm/page_alloc: move the kswapd node skip check into a helper
mm/vmscan: consolidate promo vs. high watermark checks
mm/internal.h | 1 +
mm/page_alloc.c | 55 +++++++++++++++++++++++++++----------------------
mm/vmscan.c | 22 ++++++++++++--------
3 files changed, 44 insertions(+), 34 deletions(-)
base-commit: 3a99594e62fce8c646e8aac01d38af16d6833a40
--
2.53.1-Meta