Re: [PATCH v5 0/2] mm: improve folio refcount scalability

From: Andrew Morton

Date: Fri Jun 26 2026 - 21:15:31 EST


On Fri, 26 Jun 2026 18:44:58 +0000 "Gladyshev Ilya" <ilya.gladyshev@xxxxxxxxx> wrote:

> This patch optimizes small file read performance and overall folio refcount
> scalability by refactoring page_ref_add_unless [core of folio_try_get].
> This is alternative approach to previous attempts to fix small read
> performance by avoiding refcount bumps [1][2].

Thanks. AI review had some things to say:
https://sashiko.dev/#/patchset/bb1cb750157733f897df2e261cad3d5c42acc172@xxxxxxxxx