Re: Improve page refcount scalability

From: Linus Torvalds

Date: Fri Oct 16 2026 - 11:24:20 EST


On Fri, 16 Oct 2026 at 07:40, Kiryl Shutsemau <kirill@xxxxxxxxxxxxx> wrote:
>
> I've added a cutoff to the lockless path: if the folio is large and the
> read covers more than four of its pages, leave it to the slow path,
> where one reference covers all of them.
>
> Sounds reasonable?

Sounds eminently reasonable to me.

Linus