linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Minor memcg cleanups & prep for memdescs
@ 2025-03-13 14:58 Matthew Wilcox (Oracle)
  2025-03-13 14:58 ` [PATCH 1/5] mm: Separate folio_split_memcg() from split_page_memcg() Matthew Wilcox (Oracle)
                   ` (4 more replies)
  0 siblings, 5 replies; 23+ messages in thread
From: Matthew Wilcox (Oracle) @ 2025-03-13 14:58 UTC (permalink / raw)
  To: linux-mm
  Cc: Matthew Wilcox (Oracle),
	Johannes Weiner, Michal Hocko, Roman Gushchin, Shakeel Butt,
	Muchun Song, Zi Yan, David Hildenbrand

As promised in
https://lore.kernel.org/linux-mm/Z9LwTOudOlCGny3f@casper.infradead.org/
here are some minor cleanups & prep.  The first depends on next-20250313
and I'd like David & Zi to look closely at that since that code all
moved around recently.  I think it's good, but I've been wrong before.

Matthew Wilcox (Oracle) (5):
  mm: Separate folio_split_memcg() from split_page_memcg()
  mm: Simplify split_page_memcg()
  mm: Remove references to folio in split_page_memcg()
  mm: Simplify folio_memcg_charged()
  mm: Remove references to folio in __memcg_kmem_uncharge_page()

 include/linux/memcontrol.h | 15 ++++++---
 mm/huge_memory.c           | 16 +++-------
 mm/memcontrol.c            | 62 ++++++++++++++++++++++++++------------
 mm/page_alloc.c            |  4 +--
 4 files changed, 58 insertions(+), 39 deletions(-)

-- 
2.47.2



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

end of thread, other threads:[~2025-03-13 18:03 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-13 14:58 [PATCH 0/5] Minor memcg cleanups & prep for memdescs Matthew Wilcox (Oracle)
2025-03-13 14:58 ` [PATCH 1/5] mm: Separate folio_split_memcg() from split_page_memcg() Matthew Wilcox (Oracle)
2025-03-13 15:52   ` Johannes Weiner
2025-03-13 17:07   ` Shakeel Butt
2025-03-13 17:22   ` Zi Yan
2025-03-13 14:58 ` [PATCH 2/5] mm: Simplify split_page_memcg() Matthew Wilcox (Oracle)
2025-03-13 15:54   ` Johannes Weiner
2025-03-13 17:08   ` Shakeel Butt
2025-03-13 17:23   ` Zi Yan
2025-03-13 14:58 ` [PATCH 3/5] mm: Remove references to folio in split_page_memcg() Matthew Wilcox (Oracle)
2025-03-13 16:01   ` Johannes Weiner
2025-03-13 16:05     ` Matthew Wilcox
2025-03-13 17:59     ` Matthew Wilcox
2025-03-13 18:03       ` Johannes Weiner
2025-03-13 17:10   ` Shakeel Butt
2025-03-13 14:58 ` [PATCH 4/5] mm: Simplify folio_memcg_charged() Matthew Wilcox (Oracle)
2025-03-13 16:03   ` Johannes Weiner
2025-03-13 16:15     ` Matthew Wilcox
2025-03-13 16:57       ` Shakeel Butt
2025-03-13 17:10   ` Shakeel Butt
2025-03-13 14:58 ` [PATCH 5/5] mm: Remove references to folio in __memcg_kmem_uncharge_page() Matthew Wilcox (Oracle)
2025-03-13 16:04   ` Johannes Weiner
2025-03-13 17:12   ` Shakeel Butt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox