This is a follow-up cleanup to the page-table teardown fixes [1]. pagetable_free() now invokes pagetable_dtor() for constructed page tables. This makes pagetable_dtor_free() redundant and leaves explicit destructor calls immediately before pagetable_free() duplicating lifecycle handling.
Remove pagetable_dtor_free() and convert its callers to pagetable_free(), then remove the remaining redundant pagetable_dtor() calls. This keeps the destructor decision in the common free path. No functional change is intended. [1] https://lore.kernel.org/r/[email protected] Muchun Song (2): mm: remove pagetable_dtor_free() mm: remove redundant pagetable_dtor() calls arch/m68k/include/asm/mcf_pgalloc.h | 5 ++--- arch/m68k/mm/motorola.c | 2 +- arch/powerpc/mm/book3s64/mmu_context.c | 1 - arch/powerpc/mm/book3s64/pgtable.c | 1 - arch/powerpc/mm/pgtable-frag.c | 2 -- arch/s390/include/asm/pgalloc.h | 4 ---- arch/s390/mm/pgalloc.c | 4 ++-- arch/sh/mm/pgtable.c | 2 +- arch/sparc/mm/init_64.c | 1 - arch/x86/mm/pat/set_memory.c | 10 +--------- arch/x86/mm/pgtable.c | 5 ++--- include/asm-generic/pgalloc.h | 12 ++++++------ include/asm-generic/tlb.h | 2 +- include/linux/mm.h | 6 ------ 14 files changed, 16 insertions(+), 41 deletions(-) base-commit: 9c449f885765cf8d80b2c60b1971e774bba51a3f -- 2.54.0
