Convert to use folio idle and young functions instead of page ones, then remove all page idle and young wrapper. v2: - remove useless PageTail && PageSlab check - collect Gregory Price's work, see patch3 Kefeng Wang (7): fs/proc/page: remove unneeded PageTail && PageSlab check fs/proc/page: use a folio in stable_page_flags() fs/proc/page: respect folio head-page flag placement 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() page_idle: kill page idle and young wrapper fs/proc/page.c | 41 ++++++++++++++++++--------------------- fs/proc/task_mmu.c | 28 +++++++++++++------------- include/linux/page_idle.h | 25 ------------------------ mm/huge_memory.c | 12 ++++++------ 4 files changed, 40 insertions(+), 66 deletions(-) -- 2.27.0