]> www.infradead.org Git - users/dwmw2/linux.git/commit
memcg: move mem_cgroup_charge_statistics to v1 code
authorShakeel Butt <shakeel.butt@linux.dev>
Thu, 15 Aug 2024 05:04:49 +0000 (22:04 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 2 Sep 2024 03:26:19 +0000 (20:26 -0700)
commit7d7602b4bed9b4e70c3c0650791b6b4531733a42
tree8500644e6396e0fbdfda994603918ee93946fbd9
parent41213dd0f81654f0a7863bb5b07a2ebaaf732ebe
memcg: move mem_cgroup_charge_statistics to v1 code

There are no callers of mem_cgroup_charge_statistics() in the v2 code
base, so move it to the v1 only code and rename it to
memcg1_charge_statistics().

Link: https://lkml.kernel.org/r/20240815050453.1298138-4-shakeel.butt@linux.dev
Signed-off-by: Shakeel Butt <shakeel.butt@linux.dev>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: T.J. Mercier <tjmercier@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memcontrol-v1.c
mm/memcontrol-v1.h
mm/memcontrol.c