[PATCH v2 0/5] Some khugepaged folio conversions

From: Vishal Moola (Oracle)
Date: Wed Oct 18 2023 - 16:33:11 EST


This patchset converts a number of functions to use folios. This cleans
up some khugepaged code and removes a large number of hidden
compound_head() calls.

---
v2:
Remove last caller of count_memcg_page_event()
Stop using the folio_estimated_sharers() heuristic for tail page
sharer estimation

Vishal Moola (Oracle) (5):
mm/khugepaged: Convert __collapse_huge_page_isolate() to use folios
mm/khugepaged: Convert hpage_collapse_scan_pmd() to use folios
mm/khugepaged: Convert is_refcount_suitable() to use folios
mm/khugepaged: Convert alloc_charge_hpage() to use folios
mm/khugepaged: Convert collapse_pte_mapped_thp() to use folios

include/linux/memcontrol.h | 14 ----
mm/khugepaged.c | 135 ++++++++++++++++++-------------------
2 files changed, 66 insertions(+), 83 deletions(-)

--
2.40.1