diff options
author | Chris Wilson <[email protected]> | 2016-08-29 08:08:29 +0100 |
---|---|---|
committer | Sumit Semwal <[email protected]> | 2016-10-12 19:48:33 +0530 |
commit | 4be0542073a33cc063b6a8f8fb367536e234e7aa (patch) | |
tree | 890cd8132b7075a29d1620c5983c77b116e22e1e /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 998a7aa1bdeb10e06e4ac7bff533145339fa1256 (diff) |
dma-buf: Introduce fence_get_rcu_safe()
This variant of fence_get_rcu() takes an RCU protected pointer to a
fence and carefully returns a reference to the fence ensuring that it is
not reallocated as it does. This is required when mixing fences and
SLAB_DESTROY_BY_RCU - although it serves a more pedagogical function atm
Signed-off-by: Chris Wilson <[email protected]>
Cc: Daniel Vetter <[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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions