Re: [PATCH] mm/page_alloc: avoid hard lockups in __alloc_pages_bulk()

From: Andrew Morton
Date: Sat Jul 10 2021 - 14:46:19 EST


On Sat, 10 Jul 2021 19:29:29 +0800 qiang.zhang@xxxxxxxxxxxxx wrote:

> From: Zqiang <qiang.zhang@xxxxxxxxxxxxx>
>
> The __alloc_pages_bulk() mainly used for batch allocation of
> order-0 pages, in the case of holding pagesets.lock, if too
> many pages are required, maybe trigger hard lockup watchdog.

Ouch. Has this been observed in testing? If so, can you please share
the kernel debug output from that event?