Re: [PATCH v1] mm/gup: fix FOLL_FORCE COW security issue and remove FOLL_COW

From: Linus Torvalds
Date: Tue Aug 09 2022 - 15:15:37 EST


On Tue, Aug 9, 2022 at 11:48 AM Jason Gunthorpe <jgg@xxxxxxxxxx> wrote:
>
> It is because of all this madness with COW.

Yes, yes, but we have the proper long-term pinning now with
PG_anon_exclusive, and it actually gets the pinning right not just
over COW, but even over a fork - which that early write never did.

David, I thought all of that got properly merged? Is there something
still missing?

Linus