mbox series

[v4,0/2] mm/page_alloc: Some clarifications for migratetype fallback

Message ID 20250228-clarify-steal-v4-0-cb2ef1a4e610@google.com (mailing list archive)
Headers show
Series mm/page_alloc: Some clarifications for migratetype fallback | expand

Message

Brendan Jackman Feb. 28, 2025, 9:52 a.m. UTC
A couple of patches to try and make the code easier to follow.

This is based on an old mm-unstable as v3 is already merged there. Base
commit info is attached below.

Signed-off-by: Brendan Jackman <jackmanb@google.com>
---
Changes in v4:
- Some more precision about "try to claim" vs "claim"
- More improvements to the commentary text.
- Link to v3: https://lore.kernel.org/r/20250225-clarify-steal-v3-0-f2550ead0139@google.com

Changes in v3:
- Rebased onto mm-unstable to get on top of Johannes' cleanups:
  https://lore.kernel.org/linux-mm/20250225001023.1494422-1-hannes@cmpxchg.org/
- Fixed missing renames
- Link to v2: https://lore.kernel.org/r/20250224-clarify-steal-v2-0-be24da656764@google.com

Changes in v2:
- Tweaked some naming
- Added clarifications of should_claim_block()
- Link to v1: https://lore.kernel.org/r/20250214-clarify-steal-v1-1-79dc5adf1b79@google.com

---
Brendan Jackman (2):
      mm/page_alloc: Clarify terminology in migratetype fallback code
      mm/page_alloc: Clarify should_claim_block() commentary

 mm/compaction.c |   4 +--
 mm/internal.h   |   2 +-
 mm/page_alloc.c | 100 ++++++++++++++++++++++++++++++--------------------------
 3 files changed, 56 insertions(+), 50 deletions(-)
---
base-commit: 801d47bd96ce22acd43809bc09e004679f707c39
change-id: 20250214-clarify-steal-f244880441c1

Best regards,