]> asedeno.scripts.mit.edu Git - linux.git/commit
dma-buf: Relax the write-seqlock for reallocating the shared fence list
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 12 Jul 2019 08:03:14 +0000 (09:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 16 Jul 2019 20:02:39 +0000 (21:02 +0100)
commit30fe7b07f6cb7f391181eb9d2ea2687cd9bcf395
tree850f2f651e97b32ef9b98a5fa637b8464821dac1
parent45b2fda3d82d686cc014e4c485332f85e4bd64de
dma-buf: Relax the write-seqlock for reallocating the shared fence list

As the set of shared fences is not being changed during reallocation of
the reservation list, we can skip updating the write_seqlock.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190712080314.21018-2-chris@chris-wilson.co.uk
drivers/dma-buf/reservation.c