linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] page_counter cleanup and size reduction
@ 2025-02-28  7:58 Shakeel Butt
  2025-02-28  7:58 ` [PATCH 1/3] memcg: don't call propagate_protected_usage() for v1 Shakeel Butt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shakeel Butt @ 2025-02-28  7:58 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Johannes Weiner, Michal Hocko, Roman Gushchin, Muchun Song,
	linux-mm, cgroups, linux-kernel, Meta kernel team

The commit c6f53ed8f213a ("mm, memcg: cg2 memory{.swap,}.peak write
handlers") has accidently increased the size of struct page_counter.
This series rearrange the fields to reduce its size and also has some
cleanups.

Shakeel Butt (3):
  memcg: don't call propagate_protected_usage() for v1
  page_counter: track failcnt only for legacy cgroups
  page_counter: reduce struct page_counter size

 include/linux/page_counter.h |  9 ++++++---
 mm/hugetlb_cgroup.c          | 31 ++++++++++++++-----------------
 mm/memcontrol.c              | 17 +++++++++++++----
 mm/page_counter.c            |  4 +++-
 4 files changed, 36 insertions(+), 25 deletions(-)

-- 
2.43.5



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

end of thread, other threads:[~2025-02-28  7:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-28  7:58 [PATCH 0/3] page_counter cleanup and size reduction Shakeel Butt
2025-02-28  7:58 ` [PATCH 1/3] memcg: don't call propagate_protected_usage() for v1 Shakeel Butt
2025-02-28  7:58 ` [PATCH 2/3] page_counter: track failcnt only for legacy cgroups Shakeel Butt
2025-02-28  7:58 ` [PATCH 3/3] page_counter: reduce struct page_counter size Shakeel Butt

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