All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] memblock: Revert "mm: Always release pages to the buddy allocator in memblock_free_late()."
@ 2023-02-11 10:13 Mike Rapoport
  2023-02-11 19:11 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Rapoport @ 2023-02-11 10:13 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Aaron Thompson, Mike Rapoport, linux-mm, linux-kernel

Hi Linus,

The following changes since commit 4ec5183ec48656cec489c49f989c508b68b518e3:

  Linux 6.2-rc7 (2023-02-05 13:13:28 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/fixes-2023-02-11

for you to fetch changes up to 647037adcad00f2bab8828d3d41cd0553d41f3bd:

  Revert "mm: Always release pages to the buddy allocator in memblock_free_late()." (2023-02-07 13:07:37 +0200)

----------------------------------------------------------------
Revert "mm: Always release pages to the buddy allocator in memblock_free_late()."

This reverts commit 115d9d77bb0f9152c60b6e8646369fa7f6167593.

The pages being freed by memblock_free_late() have already been
initialized, but if they are in the deferred init range, __free_one_page()
might access nearby uninitialized pages when trying to coalesce buddies,
which will cause a crash.

A proper fix will be more involved so revert this change for the time
being.

----------------------------------------------------------------
Aaron Thompson (1):
      Revert "mm: Always release pages to the buddy allocator in memblock_free_late()."

 mm/memblock.c                     | 8 +-------
 tools/testing/memblock/internal.h | 4 ----
 2 files changed, 1 insertion(+), 11 deletions(-)

-- 
Sincerely yours,
Mike.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] memblock: Revert "mm: Always release pages to the buddy allocator in memblock_free_late()."
  2023-02-11 10:13 [GIT PULL] memblock: Revert "mm: Always release pages to the buddy allocator in memblock_free_late()." Mike Rapoport
@ 2023-02-11 19:11 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2023-02-11 19:11 UTC (permalink / raw)
  To: Mike Rapoport
  Cc: Linus Torvalds, Aaron Thompson, Mike Rapoport, linux-mm, linux-kernel

The pull request you sent on Sat, 11 Feb 2023 12:13:17 +0200:

> https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/fixes-2023-02-11

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/230809c145091e5cfd948bd2db98e67a1a0571de

Thank you!

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-11 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-11 10:13 [GIT PULL] memblock: Revert "mm: Always release pages to the buddy allocator in memblock_free_late()." Mike Rapoport
2023-02-11 19:11 ` pr-tracker-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.