Re: [PATCH V10] cgroup/rstat: Avoid flushing if there is an ongoing root flush

From: Nhat Pham
Date: Thu Sep 12 2024 - 19:04:27 EST


On Thu, Sep 12, 2024 at 11:51 AM Yosry Ahmed <yosryahmed@xxxxxxxxxx> wrote:
>
> Do you mean per-lruvec or per-memcg?

Ah yeah ignore that part. I was originally thinking of adding a
per-lruvec zswap atomic counter just to fix zswap shrinker, but now
we'll need 2 atomic counters per-memcg to replace MEMCG_ZSWAP_B and
MEMCG_ZSWAPPED. The zswap_shrinker_count() will also use these two new
counters too. My apologies for the confusions...