linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next 0/2] memcg cleanups
@ 2025-12-09 13:02 Chen Ridong
  2025-12-09 13:02 ` [PATCH -next 1/2] memcg: move mem_cgroup_usage memcontrol-v1.c Chen Ridong
  2025-12-09 13:02 ` [PATCH -next 2/2] memcg: remove mem_cgroup_size() Chen Ridong
  0 siblings, 2 replies; 6+ messages in thread
From: Chen Ridong @ 2025-12-09 13:02 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>

This series cleans up two helpers in memcg:

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.

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

 include/linux/memcontrol.h |  7 -------
 mm/memcontrol-v1.c         | 22 ++++++++++++++++++++++
 mm/memcontrol-v1.h         |  2 --
 mm/memcontrol.c            | 27 ---------------------------
 mm/vmscan.c                |  6 +++---
 5 files changed, 25 insertions(+), 39 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2025-12-10  3:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-09 13:02 [PATCH -next 0/2] memcg cleanups Chen Ridong
2025-12-09 13:02 ` [PATCH -next 1/2] memcg: move mem_cgroup_usage memcontrol-v1.c Chen Ridong
2025-12-09 13:02 ` [PATCH -next 2/2] memcg: remove mem_cgroup_size() Chen Ridong
2025-12-10  1:35   ` kernel test robot
2025-12-10  1:35   ` kernel test robot
2025-12-10  3:06     ` Chen Ridong

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).