2023-09-15 04:25:21

by Huan Yang

[permalink] [raw]
Subject: [PATCH 0/3] Per memcg lru_gen node stat

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.

Huan Yang (3):
mm: multi-gen LRU: fold lru_gen run cmd
mm: memcg: add per memcg "lru_gen" node
mm: multi-gen LRU: add per memcg "lru_gen" document

Documentation/admin-guide/mm/multigen_lru.rst | 10 ++
include/linux/mm_inline.h | 9 +
include/linux/mmzone.h | 4 +-
mm/memcontrol.c | 163 ++++++++++++++++++
mm/vmscan.c | 82 ++++++---
5 files changed, 246 insertions(+), 22 deletions(-)

--
2.34.1


2023-09-28 12:36:25

by Andrew Morton

[permalink] [raw]
Subject: Re: [PATCH 0/3] Per memcg lru_gen node stat

On Thu, 14 Sep 2023 18:47:42 +0800 Huan Yang <[email protected]> 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.

Strangely, I cannot find this series in my linux-mm archive. They came
through in linux-kernel however.

Perhaps a resend will help move things along, thanks.