Re: [PATCH 1/2] mm/huge_memory: use NOFS when allocating while splitting folios
From: Gregory Price (Meta)
Date: Mon Nov 23 2026 - 03:12:39 EST
On 2026-11-23 09:14 +0800, Barry Song wrote:
> On Mon, Nov 23, 2026 at 2:46 AM Gregory Price (Meta) <gourry@xxxxxxxxxx> wrote:
> > Reproduced the hang determnistically.
> > Base deadlocked.
> > With patch 1: -ENOMEM (safe)
>
> Hi Gregory,
>
> Just curious how those -ENOMEM failures occur. With GFP_NOFS, we
> should still be able to reclaim anonymous folios (except in
> SWAP_OPS_F_REQUIRE_NOFS cases) and clean page cache folios, right?
>
Ah this is a little dumb, but i set memory.max=0 to force charge
failures. The -ENOMEM is basically expected in this scenario.
Not really something you have to address.
--
~Gregory