]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/gup: Use raw_seqcount_try_begin()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 22 Nov 2024 11:47:48 +0000 (12:47 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 2 Dec 2024 11:01:37 +0000 (12:01 +0100)
commit7528585290a1a1d4e0fb4b72261eb2d8c85de2d7
tree8d640bc221ea48fac281b5a838c5160ff3f9eb89
parent96450ead16527cbef559b5bd046182e731228f95
mm/gup: Use raw_seqcount_try_begin()

David pointed out that gup_fast() does exactly what the new
raw_seqcount_try_begin() does -- use it.

Suggested-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
mm/gup.c