Re: [PATCH 2/2] mm: remove redundant pagetable_dtor() calls

From: Geert Uytterhoeven

Date: Fri Oct 30 2026 - 05:49:10 EST


On Fri, 30 Oct 2026 at 09:38, Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
> pagetable_free() now runs pagetable_dtor() for constructed page
> tables. Calling the destructor immediately before freeing the page table
> therefore duplicates the lifecycle handling at each caller.
>
> Remove the redundant calls and let pagetable_free() handle the
> destructor. No functional change is intended.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> ---
> arch/m68k/include/asm/mcf_pgalloc.h | 1 -

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