Re: [PATCH v2 01/26] mm/fbatch: remove !CONFIG_SMP special case of folio_activate()

From: Alen Karnil

Date: Tue Nov 17 2026 - 08:57:43 EST


On Wed, 09 Sep 2026 02:42:10 -0700, Hugh Dickins <hughd@xxxxxxxxxx> wrote:
> 3.0 commit eb709b0d062e ("mm: batch activate_page() to reduce lock
> contention") brought in an ifdef CONFIG_SMP around activate batching:
> https://lore.kernel.org/linux-mm/20100805140755.501af8a7.akpm@xxxxxxxxxxxxxxxxxxxx/
> shows a sensitivity to bloat that day, not any incompatibility with UP.
>
> No other batching here has a UP alternative, and it's a bit confusing:
> simplify mm/folio.c a little by removing it now.
>
> [...]

Reviewed-by: Alen Karnil <alen.karnil@xxxxxxxxxxxxxxxx>

--
Alen Karnil <alen.karnil@xxxxxxxxxxxxxxxx>