The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v4 0/2] mm/page_alloc: get_page_from_freelist cleanups
@ 2026-11-23 18:18 Joshua Hahn
  2026-11-23 18:18 ` [PATCH v4 1/2] mm/page_alloc: move the kswapd node skip check into a helper Joshua Hahn
  2026-11-23 18:18 ` [PATCH v4 2/2] mm/vmscan: consolidate promo vs. high watermark checks Joshua Hahn
  0 siblings, 2 replies; 5+ messages in thread
From: Joshua Hahn @ 2026-11-23 18:18 UTC (permalink / raw)
  To: Andrew Morton, Vlastimil Babka, David Hildenbrand
  Cc: Lorenzo Stoakes, Liam R. Howlett, Mike Rapoport,
	Suren Baghdasaryan, Michal Hocko, Brendan Jackman,
	Johannes Weiner, Zi Yan, Qi Zheng, Shakeel Butt, Dev Jain,
	linux-mm, linux-kernel, kernel-team

v3 --> v4:
==========
- Make kswapd_wmark_pages() static inline, as suggested by Vlastimil.

2 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].

Based on the latest page_alloc/for-next branch as of 11/18/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@mail.gmail.com/

Joshua Hahn (2):
  mm/page_alloc: move the kswapd node skip check into a helper
  mm/vmscan: consolidate promo vs. high watermark checks

 mm/page_alloc.c | 47 ++++++++++++++++++++++++++++-------------------
 mm/page_alloc.h | 12 ++++++++++++
 mm/vmscan.c     | 11 ++---------
 3 files changed, 42 insertions(+), 28 deletions(-)


base-commit: 3a99594e62fce8c646e8aac01d38af16d6833a40
-- 
2.53.1-Meta


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-23 18:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 18:18 [PATCH v4 0/2] mm/page_alloc: get_page_from_freelist cleanups Joshua Hahn
2026-11-23 18:18 ` [PATCH v4 1/2] mm/page_alloc: move the kswapd node skip check into a helper Joshua Hahn
2026-11-23 18:47   ` Harry Yoo
2026-11-23 18:18 ` [PATCH v4 2/2] mm/vmscan: consolidate promo vs. high watermark checks Joshua Hahn
2026-11-23 18:40   ` Harry Yoo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox