Re: [PATCH 0/3 RESEND] Per memcg lru_gen node stat
From: Yu Zhao
Date: Wed Oct 18 2023 - 12:34:10 EST
On Sun, Oct 8, 2023 at 8:57 PM Huan Yang <link@xxxxxxxx> wrote:
>
> On original global lru_gen node in debugfs, it can all show each memcg's
> lru gen info in "lru_gen" or "lru_gen_full", and can type cmd into lru_gen.
> But which show info contains all memcg's info, and cmd need to
> know memcg's id.
>
> This patchset add lru_gen node in per memcg, with this node, we can
> get lru_gen info in each memcg.
> Also, we can type cmd to control each memcg's lru_gen seq, but, this node
> don't support multi cmd, single memcg just process one cmd once time.
Adding TJ from the Android team. (The other TJ you CC'ed is from the
ChromeOS team.)
This series introduced a new ABI, which has to be maintained forever.
How exactly would it be used in *production*?
Android doesn't officially support memcgs. So I want to understand the
real-world use cases first.