aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-07-31 09:50:14 +0100
committerJoonas Lahtinen <[email protected]>2020-09-07 13:19:11 +0300
commit9ff33bbcda259a7d1d4df8c977b32cf431972387 (patch)
tree7ba089e2c6e79c3af47e083811cf6ceae4dec2ad /tools/perf/scripts/python/bin/stackcollapse-record
parente28860ae21da258a1f983b52941a3f581281d114 (diff)
drm/i915: Reduce locking around i915_active_acquire_preallocate_barrier()
As the conversion between idle-barrier and full i915_active_fence is already serialised by explicit memory barriers, we can reduce the spinlock in i915_active_acquire_preallocate_barrier() for finding an idle-barrier to reuse to an RCU read lock to ensure the fence remains valid, only taking the spinlock for the update of the rbtree itself. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Thomas Hellström <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Rodrigo Vivi <[email protected]> Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions