Re: [PATCH v2 02/26] mm/fbatch: allow folios_put_refs() to skip xa_is_value() entries
From: Alen Karnil
Date: Tue Nov 17 2026 - 08:57:43 EST
On Wed, 09 Sep 2026 02:44:34 -0700, Hugh Dickins <hughd@xxxxxxxxxx> wrote:
> Let folios_put_refs() (hence folio_batch_release()) skip xa_is_value()
> entries, and therefore remove unneeded folio_batch_remove_exceptionals().
>
> It made some sense when introduced in 3.1 for shmem swap entries only,
> but workingset shadows popularized exceptional entries in 3.15, and it's
> silly for so many sites to be squashing exceptionals out of the fbatch,
> merely to suit an inadequacy in folios_put_refs().
>
> [...]
Reviewed-by: Alen Karnil <alen.karnil@xxxxxxxxxxxxxxxx>
--
Alen Karnil <alen.karnil@xxxxxxxxxxxxxxxx>