mm: remove CONFIG_HAVE_BOOTMEM_INFO_NODE (Part 1)
Status from this message: [merged mm-stable] powerpc-mm-remove-config_have_bootmem_info_node.patch removed from -mm tree
Get series with b4
b4 am [email protected] change-id 20260511-bootmem_info_prep-bfc0e7a5b87eVersions newest first
Patches in v1 All 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | sparc/mm: remove register_page_bootmem_info()arch/ | +0 | 3 replies | Applied |
| 2/8 | mm/bootmem_info: drop initialization of page->lrumm/ | +0 | 3 replies | Applied |
| 3/8 | mm/bootmem_info: stop using PG_privatemm/ | +0 | 3 replies | Applied |
| 4/8 | mm/bootmem_info: remove call to kmemleak_free_part_phys()include/ mm/ | +0 | 4 replies | Applied |
| 5/8 | mm/bootmem_info: stop marking the pgdat as NODE_INFOmm/ | +1 | 5 replies | Applied |
| 6/8 | mm/bootmem_info: stop marking mem_section_usage as MIX_SECTION_INFOmm/ | +1 | 3 replies | Applied |
| 7/8 | s390/mm: use free_reserved_page() in vmem_free_pages()arch/ | +1 | 7 replies | Applied |
| 8/8 | powerpc/mm: remove CONFIG_HAVE_BOOTMEM_INFO_NODEarch/ mm/ | +1 | 4 replies | Applied |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Heiko Carstens | Michal Hocko | Oscar Salvador | Ritesh Harjani (IBM) | Mike Rapoport (Microsoft) | Lance Yang |
|---|---|---|---|---|---|---|
| Series | A-b | |||||
| 1/8 | A-b | R-b | R-b | |||
| 2/8 | A-b | R-b | R-b | |||
| 3/8 | A-b | R-b | R-b | |||
| 4/8 | R-b | R-b | T-b | |||
| 5/8 | A-b | R-b | R-b | |||
| 6/8 | A-b | R-b | R-b | |||
| 7/8 | A-b | R-b | R-b | R-b | ||
| 8/8 | A-b | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH 0/8] mm: remove CONFIG_HAVE_BOOTMEM_INFO_NODE (Part 1)
We want to remove CONFIG_HAVE_BOOTMEM_INFO_NODE. As a first step, let's limit the remaining harm to x86 and core code, removing sparc, ppc and s390 leftovers, starting the stepwise removal by removing and simplifying some code.
Once a related x86 vmemmap fix [1] is in, we can merge part 2 that will remove CONFIG_HAVE_BOOTMEM_INFO_NODE entirely.
Tested on x86-64 with hugetlb vmemmap optimization in combination with KMEMLEAK, making sure that the problem reported in dd0ff4d12dd2 ("bootmem:
remove the vmemmap pages from kmemleak in put_page_bootmem") does not reappear -- hoping I managed to trigger the original problem.
Heavily cross-compiled, but let's let build bots run on it for a bit.
[1] https://lore.kernel.org/r/[email protected]
---
David Hildenbrand (Arm) (8):
sparc/mm: remove register_page_bootmem_info() mm/bootmem_info: drop initialization of page->lru mm/bootmem_info: stop using PG_private
mm/bootmem_info: remove call to kmemleak_free_part_phys() mm/bootmem_info: stop marking the pgdat as NODE_INFO mm/bootmem_info: stop marking mem_section_usage as MIX_SECTION_INFO s390/mm: use free_reserved_page() in vmem_free_pages() powerpc/mm: remove CONFIG_HAVE_BOOTMEM_INFO_NODE
arch/powerpc/mm/init_64.c | 8 -------- arch/s390/mm/vmem.c | 3 +-- arch/sparc/mm/init_64.c | 20 -------------------- include/linux/bootmem_info.h | 1 - mm/Kconfig | 2 +- mm/bootmem_info.c | 25 ++----------------------- 6 files changed, 4 insertions(+), 55 deletions(-)
---
base-commit: e9dd96806dbc2d50a66770b6a86962bd5d601153
change-id: 20260511-bootmem_info_prep-bfc0e7a5b87e
--
Cheers,
David