Re: [PATCH] mm/page_alloc: fix alloc_pages_bulk/set_page_owner panic on irq disabled
From: Andrew Morton
Date: Fri Jul 09 2021 - 18:33:19 EST
On Fri, 9 Jul 2021 17:05:59 +0800 Yang Huan <link@xxxxxxxx> wrote:
> The problem is caused by set_page_owner alloc memory to save stack with
> GFP_KERNEL in local_riq disabled.
> So, we just can't assume that alloc flags should be same with new page,
> let's split it. But in most situation, same is ok, in alloc_pages_bulk,
> input GFP_ATOMIC when prep_new_pages
Please more fully describe the bug which is being fixed. A link to the
sysbot report would be helpful. I assume there was a stack backtrace
available? Seeing the will help others to understand the bug.
And if you are able to identify the patch which introduced the bug, a
Fixes: tag would be helpful as well.
Thanks.