Building on top of my earlier series to add folio_mk_pte(), I'm simplifying both hugetlb and thp. I dislike that we still have pmd_mkhuge() (we shouldn't be able to create a PMD entry that isn't huge!) and I continue to dislike the 'huge pte' concept in hugetlb, but this is a step in the right direction. Matthew Wilcox (Oracle) (4): hugetlb: Simplify make_huge_pte() mm: Remove mk_huge_pte() mm: Add folio_mk_pmd() arch: Remove mk_pmd() arch/arc/include/asm/hugepage.h | 2 -- arch/arc/include/asm/pgtable-levels.h | 1 - arch/arm/include/asm/pgtable-3level.h | 1 - arch/arm64/include/asm/pgtable.h | 1 - arch/loongarch/include/asm/pgtable.h | 1 - arch/loongarch/mm/pgtable.c | 9 --------- arch/mips/include/asm/pgtable.h | 3 --- arch/mips/mm/pgtable-32.c | 10 ---------- arch/mips/mm/pgtable-64.c | 9 --------- arch/powerpc/include/asm/book3s/64/pgtable.h | 1 - arch/powerpc/mm/book3s64/pgtable.c | 5 ----- arch/riscv/include/asm/pgtable-64.h | 2 -- arch/s390/include/asm/pgtable.h | 1 - arch/sparc/include/asm/pgtable_64.h | 1 - arch/x86/include/asm/pgtable.h | 2 -- fs/dax.c | 3 +-- include/asm-generic/hugetlb.h | 5 ----- include/linux/huge_mm.h | 2 -- include/linux/mm.h | 17 +++++++++++++++++ mm/debug_vm_pgtable.c | 18 +++++------------- mm/huge_memory.c | 11 +++++------ mm/hugetlb.c | 18 ++++++++---------- mm/khugepaged.c | 2 +- mm/memory.c | 2 +- 24 files changed, 38 insertions(+), 89 deletions(-) -- 2.47.2