All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] memcg: further decouple v1 code from v2
@ 2024-08-15  5:04 Shakeel Butt
  2024-08-15  5:04 ` [PATCH 1/7] memcg: move v1 only percpu stats in separate struct Shakeel Butt
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Shakeel Butt @ 2024-08-15  5:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Johannes Weiner, Michal Hocko, Roman Gushchin, Muchun Song,
	T . J . Mercier, linux-mm, linux-kernel, Meta kernel team,
	cgroups

Some of the v1 code is still in v2 code base due to v1 fields in the
struct memcg_vmstats_percpu. This field decouples those fileds from v2
struct and move all the related code into v1 only code base.

Shakeel Butt (7):
  memcg: move v1 only percpu stats in separate struct
  memcg: move mem_cgroup_event_ratelimit to v1 code
  memcg: move mem_cgroup_charge_statistics to v1 code
  memcg: move v1 events and statistics code to v1 file
  memcg: make v1 only functions static
  memcg: allocate v1 event percpu only on v1 deployment
  memcg: make PGPGIN and PGPGOUT v1 only

 include/linux/memcontrol.h |   3 +
 mm/memcontrol-v1.c         | 110 +++++++++++++++++++++++++++++++++++--
 mm/memcontrol-v1.h         |  24 ++++++--
 mm/memcontrol.c            |  87 ++++-------------------------
 4 files changed, 139 insertions(+), 85 deletions(-)

-- 
2.43.5


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

end of thread, other threads:[~2024-08-15 19:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-15  5:04 [PATCH 0/7] memcg: further decouple v1 code from v2 Shakeel Butt
2024-08-15  5:04 ` [PATCH 1/7] memcg: move v1 only percpu stats in separate struct Shakeel Butt
2024-08-15 19:34   ` Roman Gushchin
2024-08-15  5:04 ` [PATCH 2/7] memcg: move mem_cgroup_event_ratelimit to v1 code Shakeel Butt
2024-08-15  5:04 ` [PATCH 3/7] memcg: move mem_cgroup_charge_statistics " Shakeel Butt
2024-08-15  5:04 ` [PATCH 4/7] memcg: move v1 events and statistics code to v1 file Shakeel Butt
2024-08-15  5:04 ` [PATCH 5/7] memcg: make v1 only functions static Shakeel Butt
2024-08-15  5:04 ` [PATCH 6/7] memcg: allocate v1 event percpu only on v1 deployment Shakeel Butt
2024-08-15  5:04 ` [PATCH 7/7] memcg: make PGPGIN and PGPGOUT v1 only Shakeel Butt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.