mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] Per memcg lru_gen node stat
@ 2023-09-14 10:47 Huan Yang
  2023-09-14 10:47 ` [PATCH 1/3] mm: multi-gen LRU: fold lru_gen run cmd Huan Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Huan Yang @ 2023-09-14 10:47 UTC (permalink / raw)
  To: Jonathan Corbet, Andrew Morton, Johannes Weiner, Michal Hocko,
	Roman Gushchin, Shakeel Butt, Muchun Song, Suleiman Souhlal,
	Mike Rapoport, Jan Alexander Steffens (heftig),
	Yu Zhao, Huan Yang, Brian Geffon, Gaosheng Cui, Peter Xu,
	Axel Rasmussen, T.J. Alumbaugh, Kefeng Wang, linux-doc,
	linux-kernel, linux-mm, cgroups
  Cc: kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-27 17:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-14 10:47 [PATCH 0/3] Per memcg lru_gen node stat Huan Yang
2023-09-14 10:47 ` [PATCH 1/3] mm: multi-gen LRU: fold lru_gen run cmd Huan Yang
2023-09-14 10:47 ` [PATCH 2/3] mm: memcg: add per memcg "lru_gen" node Huan Yang
2023-09-14 10:47 ` [PATCH 3/3] mm: multi-gen LRU: add per memcg "lru_gen" document Huan Yang
2023-09-27 17:38 ` [PATCH 0/3] Per memcg lru_gen node stat Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®