Re: [PATCH 1/2] mm: remove pagetable_dtor_free()

From: Geert Uytterhoeven

Date: Fri Oct 30 2026 - 05:45:43 EST


On Fri, 30 Oct 2026 at 09:38, Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
> pagetable_free() now runs pagetable_dtor() for pages that have gone
> through a page-table constructor, so pagetable_dtor_free() no longer
> provides distinct behavior.
>
> Use pagetable_free() directly at the remaining call sites and remove
> the redundant helper. This keeps the decision to run the destructor in
> the common free path.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> ---
> arch/m68k/include/asm/mcf_pgalloc.h | 4 ++--
> arch/m68k/mm/motorola.c | 2 +-

Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> # m68k

Gr{oetje,eeting}s,

Geert


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds