diff options
| author | Christian König <[email protected]> | 2019-08-09 17:27:21 +0200 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-08-15 10:52:10 -0500 |
| commit | 85cb9d506744742ac06114a794fe58a964a24a62 (patch) | |
| tree | f3bbd7e054ef33069e86d4a785e60329430a6a50 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 2568cedc130866ddca7b7d85824b5d237d2d3812 (diff) | |
drm/scheduler: use job count instead of peek
The spsc_queue_peek function is accessing queue->head which belongs to
the consumer thread and shouldn't be accessed by the producer
This is fixing a rare race condition when destroying entities.
Signed-off-by: Christian König <[email protected]>
Acked-by: Andrey Grodzovsky <[email protected]>
Reviewed-by: [email protected]
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions