memblock update for v6.7
Hi Linus,
The following changes since commit 6465e260f48790807eef06b583b38ca9789b6072:
Linux 6.6-rc3 (2023-09-24 14:31:13 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v6.7-rc1
for you to fetch changes up to e96c6b8f212a510c9b22362de519f6e1d7920de5:
memblock: report failures when memblock_can_resize is not set (2023-09-28 09:04:33 +0300)
----------------------------------------------------------------
memblock: report failures when memblock_can_resize is not set
Numerous memblock reservations at early boot may exhaust static memblock.reserved array and it is unnoticed because most of the callers don't check memblock_reserve() return value.
In this case the system will crash later, but the reason is hard to identify.
Replace return of an error with panic() when memblock.reserved is exhausted before it can be resized.
----------------------------------------------------------------
Song Shuai (1):
memblock: report failures when memblock_can_resize is not set
mm/memblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 2 lines
Sincerely yours, Mike.
The pull request you sent on Mon, 6 Nov 2023 20:32:58 +0200:
The pull request you sent on Mon, 6 Nov 2023 20:32:58 +0200:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v6.7-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/447cec034b7896f4b19dbfe3ce6c366ce7c7602a
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html