Convert all the caller functions of cgroup_throttle_swaprate() to use folios, and use folio_throttle_swaprate(), which allows us to remove cgroup_throttle_swaprate() completely. Kefeng Wang (7): mm: huge_memory: make __do_huge_pmd_anonymous_page() to take a folio mm: memory: convert do_anonymous_page() to use a folio mm: memory: convert do_cow_fault to use folios mm: memory: convert page_copy_prealloc() to use a folio mm: memory: convert wp_page_copy() to use folios mm: memory: use folio_throttle_swaprate() in do_swap_page() mm: swap: remove unneeded cgroup_throttle_swaprate() include/linux/swap.h | 12 ++--- mm/huge_memory.c | 23 +++++----- mm/memory.c | 104 +++++++++++++++++++++++-------------------- mm/swapfile.c | 4 +- 4 files changed, 74 insertions(+), 69 deletions(-) -- 2.35.3