Re: [BUG] Crash on x86_32 for: mm: page_alloc: avoid merging non-fallbackable pageblocks with others

From: Steven Rostedt
Date: Wed Mar 30 2022 - 16:57:13 EST


On Wed, 30 Mar 2022 16:29:28 -0400
Zi Yan <ziy@xxxxxxxxxx> wrote:

> In the original code, it will jump back to continue_merging and still tries
> to find the buddy. The crash means the found buddy is not valid, since its
> pageblock migratetype is NULL. That seems to suggest the physical memory
> range is not aligned to MAX_ORDER_NR_PAGES, which should not be the case.
> But if (!page_is_buddy(page, buddy, order)) prevents further buddy merging.
> I must be missing something.

Not sure if this matters or not, but my kernel command line has:

crashkernel=256M

Could that have caused this to break?

-- Steve