Convert to use folio idle and young functions instead of page ones, then remove all page idle and young wrapper. Kefeng Wang (5): mm: huge_memory: use more folio api in __split_huge_page_tail() mm: task_mmu: use a folio in smaps_account() mm: task_mmu: use a folio in clear_refs_pte_range() fs/proc/page: use a folio in stable_page_flags() page_idle: kill page idle and young wrapper fs/proc/page.c | 22 +++++++++++----------- fs/proc/task_mmu.c | 28 +++++++++++++++------------- include/linux/page_idle.h | 25 ------------------------- mm/huge_memory.c | 12 ++++++------ 4 files changed, 32 insertions(+), 55 deletions(-) -- 2.27.0