aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2019-08-09 17:27:21 +0200
committerAlex Deucher <alexander.deucher@amd.com>2019-08-14 15:45:53 -0500
commite1b4ce25dbc93ab0cb8ed0f236a3b9ff7b03802c (patch)
tree2d6fed0206a76b9cfa53001ce820922bcc803253 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/amd/display: use kvmalloc for dc_state (v2) (diff)
downloadwireguard-linux-e1b4ce25dbc93ab0cb8ed0f236a3b9ff7b03802c.tar.xz
wireguard-linux-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 <christian.koenig@amd.com> Acked-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Monk.liu@amd.com Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions