[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240815050453.1298138-1-shakeel.butt@linux.dev>
Date: Wed, 14 Aug 2024 22:04:46 -0700
From: Shakeel Butt <shakeel.butt@...ux.dev>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Johannes Weiner <hannes@...xchg.org>,
	Michal Hocko <mhocko@...nel.org>,
	Roman Gushchin <roman.gushchin@...ux.dev>,
	Muchun Song <muchun.song@...ux.dev>,
	"T . J . Mercier" <tjmercier@...gle.com>,
	linux-mm@...ck.org,
	linux-kernel@...r.kernel.org,
	Meta kernel team <kernel-team@...a.com>,
	cgroups@...r.kernel.org
Subject: [PATCH 0/7] memcg: further decouple v1 code from v2
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
Powered by blists - more mailing lists
 
