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. --- v3: Address filemap_lock_folio() returning ERR_PTR Fix uninitialized variable warning Some minor rewording 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 | 137 ++++++++++++++++++------------------- 2 files changed, 68 insertions(+), 83 deletions(-) -- 2.40.1