[GIT,PULL] memblock update for v6.7

Message ID 20231106183258.GP2824@kernel.org
State New
Headers
Series [GIT,PULL] memblock update for v6.7 |

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v6.7-rc1

Message

Mike Rapoport Nov. 6, 2023, 6:32 p.m. UTC
  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(-)
  

Comments

pr-tracker-bot@kernel.org Nov. 8, 2023, 5:52 p.m. UTC | #1
The pull request you sent on Mon, 6 Nov 2023 20:32:58 +0200:

> 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!