Re: [PATCH] mm: gup: fix the fast GUP race against THP collapse

From: Jason Gunthorpe
Date: Tue Sep 06 2022 - 12:09:38 EST


On Tue, Sep 06, 2022 at 04:44:20PM +0200, David Hildenbrand wrote:

> ... I do wonder if we want to reuse ptep_get_lockless() instead of the
> READ_ONCE(). CONFIG_GUP_GET_PTE_LOW_HIGH is confusing.

Yes, that is a whole other topic, and you may be quite right on that.

Jason