mm: yet more cleanups for page_alloc APIs
Get series with b4
b4 am [email protected] change-id 20260716-folio-alloc-cleanups-0fe319b881c2Versions newest first
- v1 Latest3 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm: move internal mempolicy APIs to new internal headerMAINTAINERS include/ mm/ +4 more | +37 | 12 replies | |
| 2/3 | mm, treewide: replace __folio_alloc_node() with folio_alloc_node()drivers/ drivers/ include/ +4 more | +24 | 2 replies | |
| 3/3 | mm: move __folio_alloc() to page_alloc.hinclude/ mm/ mm/ | +4 | 1 reply |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Gregory Price |
|---|---|
| 1/3 | |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] mm: yet more cleanups for page_alloc APIs
Based on mm-new.
Align some APIs with recent cleanups [0][1], and hide more mm-internal APIs from public headers.
Part of this was also proposed by Vlastimil right as I was writing it:
https://lore.kernel.org/all/[email protected]/
And just like with my other recent patches, this has the ulterior motive of enabling later incoming patches to add alloc_flags arguments to these internal functions. (But, I do think these are justified as cleanups in their own right).
[0]: https://lore.kernel.org/all/[email protected]/
[1]: https://lore.kernel.org/all/[email protected]/
---
Brendan Jackman (3):
mm: move internal mempolicy APIs to new internal header mm, treewide: replace __folio_alloc_node() with folio_alloc_node()
mm: move __folio_alloc() to page_alloc.h
MAINTAINERS | 1 + drivers/iommu/iommu-pages.c | 9 +-------- drivers/irqchip/irq-loongarch-ir.c | 4 ++-- include/linux/gfp.h | 25 +++---------------------- mm/filemap.c | 4 +++- mm/mempolicy.c | 1 + mm/mempolicy.h | 31 +++++++++++++++++++++++++++++++ mm/migrate.c | 2 +- mm/page_alloc.c | 18 +++++++++++++++--- mm/page_alloc.h | 4 ++++ mm/shmem.c | 1 + mm/swap_state.c | 1 + net/sunrpc/svc.c | 2 +- 13 files changed, 65 insertions(+), 38 deletions(-)
---
base-commit: 512c82e906fe2c26023e307c7951d53e90910b57
change-id: 20260716-folio-alloc-cleanups-0fe319b881c2
Best regards,
Signature · 1 line
Brendan Jackman <[email protected]>