Skip to contentSkip to conversation

memblock updates for v7.1-rc1

GIT PULL Merged Mike Rapoport 2 participants 2 messages Apr 18 Memory management

lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit f338e77383789c0cae23ca3d48adcc5e9e137e3c:

Linux 7.0-rc4 (2026-03-15 13:52:05 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v7.1-rc1

for you to fetch changes up to d5759519805c54786c00765ca1303e6d7a0676ca:

x86/alternative: delay freeing of smp_locks section (2026-04-03 17:38:34 +0300)

----------------------------------------------------------------
memblock: updates for 7.0-rc1

* improve debugability of reserve_mem kernel parameter handling with print outs in case of a failure and debugfs info showing what was actually reserved
* Make memblock_free_late() and free_reserved_area() use the same core logic for freeing the memory to buddy and ensure it takes care of updating memblock arrays when ARCH_KEEP_MEMBLOCK is enabled.

----------------------------------------------------------------
Guilherme G. Piccoli (2):
memblock: Print out errors on reserve_mem parser
memblock: Add reserve_mem debugfs info

Mike Rapoport (Microsoft) (11):
memblock: move reserve_bootmem_range() to memblock.c and make it static
memblock: reserve_mem: fix end caclulation in reserve_mem_release_by_name()
powerpc: fadump: pair alloc_pages_exact() with free_pages_exact()
powerpc: opal-core: pair alloc_pages_exact() with free_pages_exact()
mm: move free_reserved_area() to mm/memblock.c
memblock: make free_reserved_area() more robust
memblock: extract page freeing from free_reserved_area() into a helper
memblock: make free_reserved_area() update memblock if ARCH_KEEP_MEMBLOCK=y memblock, treewide: make memblock_free() handle late freeing
memblock: warn when freeing reserved memory before memory map is initialized x86/alternative: delay freeing of smp_locks section

 arch/arm64/mm/init.c                          |   3 -
 arch/powerpc/kernel/fadump.c                  |  16 +-
 arch/powerpc/platforms/powernv/opal-core.c    |  11 +-
 arch/sparc/kernel/mdesc.c                     |   4 +-
 arch/x86/kernel/alternative.c                 |  22 ++-
 arch/x86/kernel/setup.c                       |   2 +-
 arch/x86/platform/efi/memmap.c                |   5 +-
 arch/x86/platform/efi/quirks.c                |   2 +-
 drivers/firmware/efi/apple-properties.c       |   2 +-
 drivers/of/kexec.c                            |   2 +-
 include/linux/bootmem_info.h                  |   4 -
 include/linux/memblock.h                      |   2 -
 include/linux/mm.h                            |   3 -
 init/initramfs.c                              |   7 -
 kernel/dma/swiotlb.c                          |   6 +-
 lib/bootconfig.c                              |   2 +-
 mm/internal.h                                 |  10 ++
 mm/kfence/core.c                              |   4 +-
 mm/memblock.c                                 | 231 ++++++++++++++++++++------
 mm/mm_init.c                                  |  25 ---
 mm/page_alloc.c                               |  46 -----
 tools/include/linux/mm.h                      |   3 +-
 tools/testing/memblock/internal.h             |  43 ++++-
 tools/testing/memblock/linux/string_helpers.h |  10 ++
 tools/testing/memblock/mmzone.c               |   4 -
 25 files changed, 271 insertions(+), 198 deletions(-)
 create mode 100644 tools/testing/memblock/linux/string_helpers.h
Signature · 2 lines
Sincerely yours,
Mike.
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 18 Apr 2026 12:00:06 +0300:

The pull request you sent on Sat, 18 Apr 2026 12:00:06 +0300:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v7.1-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9055c64567e9fc2a58d9382205bf3082f7bea141

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html