[PATCH RFC 00/19] mm/gup: remove FOLL_FORCE usage from drivers (reliable R/O long-term pinning)
David Hildenbrand
david at redhat.com
Tue Nov 8 09:29:17 UTC 2022
On 07.11.22 18:27, Linus Torvalds wrote:
> On Mon, Nov 7, 2022 at 8:18 AM David Hildenbrand <david at redhat.com> wrote:
>>
>> So instead, make R/O long-term pinning work as expected, by breaking COW
>> in a COW mapping early, such that we can remove any FOLL_FORCE usage from
>> drivers.
>
> Nothing makes me unhappy from a quick scan through these patches.
>
> And I'd really love to just have this long saga ended, and FOLL_FORCE
> finally relegated to purely ptrace accesses.
>
> So an enthusiastic Ack from me.
Thanks Linus! My hope is that we can remove it from all drivers and not
have to leave it in for some corner cases; so far it looks promising.
--
Thanks,
David / dhildenb
More information about the etnaviv
mailing list