diff options
| author | Christian König <[email protected]> | 2019-08-09 15:27:21 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-08-14 20:45:53 +0000 |
| commit | e1b4ce25dbc93ab0cb8ed0f236a3b9ff7b03802c (patch) | |
| tree | 2d6fed0206a76b9cfa53001ce820922bcc803253 /tools/perf/scripts/python | |
| parent | drm/amd/display: use kvmalloc for dc_state (v2) (diff) | |
| download | kernel-e1b4ce25dbc93ab0cb8ed0f236a3b9ff7b03802c.tar.gz kernel-e1b4ce25dbc93ab0cb8ed0f236a3b9ff7b03802c.zip | |
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')
0 files changed, 0 insertions, 0 deletions
