memblock: fixes for nid setting in memmap_init_reserved_pages()
Hi Linus,
The following changes since commit 0af2f6be1b4281385b618cb86ad946eded089ac8:
Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/fixes-2025-04-29
for you to fetch changes up to 3b394dff15e14550a26b133fc7b556b5b526f6a5:
memblock tests: add test for memblock_set_node (2025-04-07 09:28:01 +0300)
----------------------------------------------------------------
memblock: fixes for nid setting in memmap_init_reserved_pages()
* pass 'size' rather than 'end' to memblock_set_node() as that function expects
* fix a corner case when memblock.reserved is doubled at memmap_init_reserved_pages() and the newly reserved block won't have nid assigned
----------------------------------------------------------------
Masami Hiramatsu (Google) (1):
memblock tests: Fix mutex related build error
Wei Yang (3):
mm/memblock: pass size instead of end to memblock_set_node() mm/memblock: repeat setting reserved region nid if array is doubled memblock tests: add test for memblock_set_node
mm/memblock.c | 12 +++- tools/testing/memblock/internal.h | 6 ++ tools/testing/memblock/linux/mutex.h | 14 +++++ tools/testing/memblock/tests/basic_api.c | 102 +++++++++++++++++++++++++++++++ 4 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 tools/testing/memblock/linux/mutex.h
Signature · 2 lines
Sincerely yours, Mike.
The pull request you sent on Tue, 29 Apr 2025 09:26:37 +0300:
The pull request you sent on Tue, 29 Apr 2025 09:26:37 +0300:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/fixes-2025-04-29
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4b5256f990046d479d87f90382dea36c55539c44
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html