Re: [PATCH 0/2] mm: Remove pagetable_dtor_free()

From: Vishal Moola (Fractile)

Date: Fri Oct 30 2026 - 09:48:10 EST


On Fri, Oct 30, 2026 at 04:37:58PM +0800, Muchun Song wrote:
> 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/20261023063428.3658761-1-songmuchun@xxxxxxxxxxxxx
>
> Muchun Song (2):
> mm: remove pagetable_dtor_free()
> mm: remove redundant pagetable_dtor() calls

For the series:

Acked-by: Vishal Moola (Fractile) <vishal.moola@xxxxxxxxx>