linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next v3 0/2] memcg cleanups
@ 2025-12-11  1:30 Chen Ridong
  2025-12-11  1:30 ` [PATCH -next v3 1/2] memcg: move mem_cgroup_usage memcontrol-v1.c Chen Ridong
  2025-12-11  1:30 ` [PATCH -next v3 2/2] memcg: remove mem_cgroup_size() Chen Ridong
  0 siblings, 2 replies; 11+ messages in thread
From: Chen Ridong @ 2025-12-11  1:30 UTC (permalink / raw)
  To: hannes, mhocko, roman.gushchin, shakeel.butt, muchun.song, akpm,
	axelrasmussen, yuanchu, weixugc, david, zhengqi.arch,
	lorenzo.stoakes
  Cc: cgroups, linux-mm, linux-kernel, lujialin4, chenridong

From: Chen Ridong <chenridong@huawei.com>

1/2 moves mem_cgroup_usage() to memcontrol-v1.c
2/2 removes mem_cgroup_size()

Both are code moves/removals with no behavior change.

---

Change from v2:
1. get usage via mem_cgroup_protection and eliminate ifdef.

Chen Ridong (2):
  memcg: move mem_cgroup_usage memcontrol-v1.c
  memcg: remove mem_cgroup_size()

 include/linux/memcontrol.h | 18 +++++++-----------
 mm/memcontrol-v1.c         | 22 ++++++++++++++++++++++
 mm/memcontrol-v1.h         |  2 --
 mm/memcontrol.c            | 27 ---------------------------
 mm/vmscan.c                |  9 ++++-----
 5 files changed, 33 insertions(+), 45 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2025-12-16 13:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-11  1:30 [PATCH -next v3 0/2] memcg cleanups Chen Ridong
2025-12-11  1:30 ` [PATCH -next v3 1/2] memcg: move mem_cgroup_usage memcontrol-v1.c Chen Ridong
2025-12-12  0:36   ` Shakeel Butt
2025-12-15 16:28   ` Michal Koutný
2025-12-11  1:30 ` [PATCH -next v3 2/2] memcg: remove mem_cgroup_size() Chen Ridong
2025-12-11  2:58   ` Johannes Weiner
2025-12-11 10:48   ` Michal Hocko
2025-12-12  0:37   ` Shakeel Butt
2025-12-15 16:28   ` Michal Koutný
2025-12-16 12:34     ` Chen Ridong
2025-12-16 13:55       ` Michal Koutný

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).