[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231009025726.5982-1-link@vivo.com>
Date: Mon, 9 Oct 2023 10:57:19 +0800
From: Huan Yang <link@...o.com>
To: Jonathan Corbet <corbet@....net>,
Andrew Morton <akpm@...ux-foundation.org>,
Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>,
Roman Gushchin <roman.gushchin@...ux.dev>,
Shakeel Butt <shakeelb@...gle.com>,
Muchun Song <muchun.song@...ux.dev>,
Yu Zhao <yuzhao@...gle.com>, Peter Xu <peterx@...hat.com>,
David Hildenbrand <david@...hat.com>,
"T.J. Alumbaugh" <talumbau@...gle.com>,
Axel Rasmussen <axelrasmussen@...gle.com>,
Ryan Roberts <ryan.roberts@....com>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
Suren Baghdasaryan <surenb@...gle.com>,
linux-doc@...r.kernel.org (open list:DOCUMENTATION),
linux-kernel@...r.kernel.org (open list),
linux-mm@...ck.org (open list:MEMORY MANAGEMENT),
cgroups@...r.kernel.org (open list:CONTROL GROUP - MEMORY RESOURCE
CONTROLLER (MEMCG))
Cc: opensource.kernel@...o.com, Huan Yang <link@...o.com>
Subject: [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(-)
--
2.34.1
Powered by blists - more mailing lists