Re: [PATCH 0/1] mm: restore full accuracy in COW page reuse

From: Linus Torvalds
Date: Wed Jan 13 2021 - 14:55:47 EST


On Wed, Jan 13, 2021 at 4:56 AM Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
>
> Yes, Linus mis-stated it:

Yeah, I got the order wrong.

> ... but as David pointed out, I fixed this in e320d3012d25

.. and I must have seen it, but not really internalized it.

And now that I look at it more closely, I'm actually surprised that
other than the magic "speculative first page" case we don't seem to
use page reference counting for non-order-0 pages (which would break
that hack horribly).

Linus