[GIT PULL] memblock update for v6.7

From: Mike Rapoport
Date: Mon Nov 06 2023 - 13:33:28 EST


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(-)

--
Sincerely yours,
Mike.