Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)
From: Erhard Furtner
Date: Thu Jun 06 2024 - 09:32:47 EST
- Next message: Haylen Chu: "Re: [PATCH v2 1/3] dt-bindings: thermal: sophgo,cv180x-thermal: Add Sophgo CV180x thermal"
- Previous message: Devarsh Thakkar: "Re: [PATCH v12 12/13] media: imagination: Round to closest multiple for cropping region"
- In reply to: Vlastimil Babka (SUSE): "Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)"
- Next in thread: Vlastimil Babka (SUSE): "Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 6 Jun 2024 09:24:56 +0200
"Vlastimil Babka (SUSE)" <vbabka@xxxxxxxxxx> wrote:
> Besides the zpool commit which might have just pushed the machine over the
> edge, but it was probably close to it already. I've noticed a more general
> problem that there are GFP_KERNEL allocations failing from kswapd. Those
> could probably use be __GFP_NOMEMALLOC (or scoped variant, is there one?)
> since it's the case of "allocating memory to free memory". Or use mempools
> if the progress (success will lead to freeing memory) is really guaranteed.
>
> Another interesting data point could be to see if traditional reclaim
> behaves any better on this machine than MGLRU. I saw in the config:
>
> CONFIG_LRU_GEN=y
> CONFIG_LRU_GEN_ENABLED=y
>
> So disabling at least the second one would revert to the traditional reclaim
> and we could see if it handles such a constrained system better or not.
I set RANDOM_KMALLOC_CACHES=n and LRU_GEN_ENABLED=n but still hit the issue.
dmesg looks a bit different (unpatched v6.10-rc2).
Regards,
Erhard
Attachment:
dmesg_610-rc2_g4_lru
Description: Binary data
- Next message: Haylen Chu: "Re: [PATCH v2 1/3] dt-bindings: thermal: sophgo,cv180x-thermal: Add Sophgo CV180x thermal"
- Previous message: Devarsh Thakkar: "Re: [PATCH v12 12/13] media: imagination: Round to closest multiple for cropping region"
- In reply to: Vlastimil Babka (SUSE): "Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)"
- Next in thread: Vlastimil Babka (SUSE): "Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]