mbox series

[v2,0/5] Minor memcg cleanups & prep for memdescs

Message ID 20250314133617.138071-1-willy@infradead.org (mailing list archive)
Headers show
Series Minor memcg cleanups & prep for memdescs | expand

Message

Matthew Wilcox March 14, 2025, 1:36 p.m. UTC
Separate the handling of accounted folios and GFP_ACCOUNT pages for easier
to understand code.  For more detail, see
https://lore.kernel.org/linux-mm/Z9LwTOudOlCGny3f@casper.infradead.org/

Matthew Wilcox (Oracle) (5):
  mm: Separate folio_split_memcg_refs() 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(-)

Comments

David Hildenbrand March 14, 2025, 9:53 p.m. UTC | #1
On 14.03.25 14:36, Matthew Wilcox (Oracle) wrote:
> Separate the handling of accounted folios and GFP_ACCOUNT pages for easier
> to understand code.  For more detail, see
> https://lore.kernel.org/linux-mm/Z9LwTOudOlCGny3f@casper.infradead.org/

Nothing jumped at me, looking good.