aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2023-07-10 10:40:42 +0100
committerRodrigo Vivi <[email protected]>2023-12-21 11:35:22 -0500
commitdad33831d8d137ee28b21c3c2296463a01aa5b78 (patch)
treeec6373da8a531982ea152586d41af0ef6575942b /tools/perf/scripts/python/bin/stackcollapse-record
parentc4bbc32e09ab9f74c725a8719df2b509c8ad8780 (diff)
drm/xe/ct: hold fast_lock when reserving space for g2h
Reserving and checking for space on the g2h side relies on the fast_lock, and not the CT lock since we need to release space from the fast CT path. Make sure we hold it when checking for space and reserving it. The main concern is calling __g2h_release_space() as we are reserving something and since the info.space and info.g2h_outstanding operations are not atomic we can get some nonsense values back. Signed-off-by: Matthew Auld <[email protected]> Cc: Matthew Brost <[email protected]> Cc: José Roberto de Souza <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions