aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-07-30 14:40:49 +0100
committerJoonas Lahtinen <[email protected]>2020-09-07 13:16:58 +0300
commit13106019f79bee105af1d3afdcb38b38771d81b9 (patch)
treedc598465f83222a21bd4ff900651357f452d386b /tools/perf/scripts/python/exported-sql-viewer.py
parentd1bf5dd8f6d510999b8a12687ee2662e26ab720c (diff)
drm/i915/gt: Pull release of node->age under the spinlock
We need to ensure that the list is valid prior to marking the node as retrievable, otherwise we may see two threads compete over the same node in intel_gt_get_buffer_pool(). If the first thread acquires and releases the node in the same jiffie, the second thread may then acquire it (as the jiffie now again matches the expected value) and claim the node before it is put back into the list. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Matthew Auld <[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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions