diff options
author | Chris Wilson <[email protected]> | 2016-08-29 08:08:32 +0100 |
---|---|---|
committer | Sumit Semwal <[email protected]> | 2016-10-12 20:00:02 +0530 |
commit | b68d8379c28ddfe74b78be9414082f281332d86c (patch) | |
tree | 0a702ba375460fb67bee2b7a90a2ac8481a15f46 /tools/perf/scripts/python/syscall-counts.py | |
parent | 1cec20f0ea0e3bc617aed47e0936f17386c131f9 (diff) |
dma-buf: Restart reservation_object_test_signaled_rcu() after writes
In order to be completely generic, we have to double check the read
seqlock after acquiring a reference to the fence. If the driver is
allocating fences from a SLAB_DESTROY_BY_RCU, or similar freelist, then
within an RCU grace period a fence may be freed and reallocated. The RCU
read side critical section does not prevent this reallocation, instead
we have to inspect the reservation's seqlock to double check if the
fences have been reassigned as we were acquiring our reference.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Christian König <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: Sumit Semwal <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Sumit Semwal <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions