Re: [PATCH v2 0/6] mm: zswap: global shrinker fix and proactive shrink

From: Nhat Pham
Date: Wed Jul 17 2024 - 15:01:34 EST


On Wed, Jul 17, 2024 at 11:05 AM Yosry Ahmed <yosryahmed@xxxxxxxxxx> wrote:
>
> I have always thought that the shrinker should play this role in one
> way or another. Instead of an arbitrary watermark and asynchronous
> work, it incrementally pushes the zswap LRU toward disk as reclaim
> activity increases.
>
> Is the point behind proactive shrinking is to reduce the latency in
> the reclaim path?

Yeah, reducing latency is the one benefit I have in mind :) I don't
feel too strongly regarding this though - in fact I'm more biased
towards the other shrinker in the first place.