Re: [PATCH v4 2/2] mm: prevent gup_fast from racing with COW during fork

From: Ahmed S. Darwish
Date: Thu Nov 12 2020 - 02:42:05 EST


On Tue, Nov 10, 2020 at 07:44:09PM -0400, Jason Gunthorpe wrote:
...
>
> Fixes: f3c64eda3e50 ("mm: avoid early COW write protect games during fork()")
> Suggested-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Link: https://lore.kernel.org/r/CAHk-=wi=iCnYCARbPGjkVJu9eyYeZ13N64tZYLdOB8CP5Q_PLw@xxxxxxxxxxxxxx
> Reviewed-by: John Hubbard <jhubbard@xxxxxxxxxx>
> Reviewed-by: Jan Kara <jack@xxxxxxx>
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> ---

Thanks for the v3 and v4 updates.

For the seqcount_t parts:

Acked-by: "Ahmed S. Darwish" <a.darwish@xxxxxxxxxxxxx>