Re: [PATCH v3 0/4] mm: restore per-memcg reclaim for NONSLAB shrinkers under nokmem
From: Michal Koutný
Date: Wed Sep 23 2026 - 08:43:15 EST
On Tue, Sep 22, 2026 at 06:35:47PM -0700, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, 10 Sep 2026 16:07:18 +0800 Qinyun Tan <qinyuntan@xxxxxxxxxxxxxxxxx> wrote:
>
> > With cgroup.memory=nokmem, the THP deferred split shrinker and the
> > zswap shrinker are degraded in two ways.
>
> Obvious question which may have recently been addressed:
>
> Why are we keeping nokmem around? How useful are its memory savings
> and is anyone actually using it?
Besides (not so significant) memory savings, there are also runtime
savings (not spending time with accounting of each kernel allocation)
and environmnents where shared (not)accounting of kernel objects is
preferred (as other resources than memory are shared anyways).
The above are IMO justifiable reasons and I know such users.
HTH,
Michal
Attachment:
signature.asc
Description: PGP signature