Re: [RFC PATCH 0/2] mm: zsmalloc: make shrinker compaction budget-aware
From: Yosry Ahmed
Date: Tue Nov 17 2026 - 19:24:10 EST
On Tue, Nov 17, 2026 at 4:13 PM Chris Wiseman <chriswiseman@xxxxxxxxxx> wrote:
>
> On Thu, Nov 12, 2026 at 2:58 PM Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx> wrote:
> >
> > On (26/11/05 16:53), Chris Wiseman wrote:
> > [..]
> > > Maybe we go with Nhat's idea (CONFIG_ZSMALLOC_SHRINKER defaulting to
> > > ZSWAP_DEFAULT_ON) for now, and if zswap adds a proactive compact knob
> > > later we can just kill the shrinker?
> >
> > Sounds good to me (on the zram side).
>
> Thanks Sergey. Xueyuan, are you still planning to send the 2-patch
> series (CONFIG_ZSMALLOC_SHRINKER + unlocked zs_can_compact() pre-check),
> or want me to spin and post it?
>
> Yosry / Nhat - any objection to starting with CONFIG_ZSMALLOC_SHRINKER
> defaulting to ZSWAP_DEFAULT_ON so zram users can turn it off right away
> while we decide whether to drop the shrinker completely?
I would rather drop it right away, but I am fine if you don't wanna
bother with zswap.