Re: [PATCH] mm: remove unused clear_flush_young_ptes_notify()

From: SJ Park

Date: Mon Nov 09 2026 - 20:19:27 EST


On Mon, 9 Nov 2026 18:41:55 +0000 Shivank Garg <shivankg@xxxxxxx> wrote:

> clear_flush_young_ptes_notify()'s last user was removed in
> commit f3c493d2f42b ("mm/rmap: handle device-exclusive entries in
> folio_referenced_one()"), which open-codes clear_flush_young_ptes()
> and mmu_notifier_clear_flush_young() in folio_referenced_one().
>
> Remove both the CONFIG_MMU_NOTIFIER definition and the
> !CONFIG_MMU_NOTIFIER alias.

Looks good to me.

>
> Signed-off-by: Shivank Garg <shivankg@xxxxxxx>

Reviewed-by: SJ Park <sj@xxxxxxxxxx>


Thanks,
SJ

[...]