Skip to content

Per memcg lru_gen node stat

Huan Yang cgroups linux-doc linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/23 patches 5 repliesIn review
  2. v1 posting 1/23 patches 1 replySuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: multi-gen LRU: fold lru_gen run cmdinclude/linux/mm_inline.h mm/vmscan.c+33 -210 replies
2/3mm: memcg: add per memcg "lru_gen" nodeinclude/linux/mmzone.h mm/memcontrol.c mm/vmscan.c+203 -10 replies
3/3mm: multi-gen LRU: add per memcg "lru_gen" documentDocumentation/admin-guide/mm/multigen_lru.rst+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3 RESEND] 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.

HuanYang (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(-)
Signature · 1 line
2.34.1