diff options
author | Eric Huang <[email protected]> | 2019-07-09 15:33:53 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-07-11 14:37:24 -0500 |
commit | 70df8273ca0cebd2bba443a4444b4944a5929151 (patch) | |
tree | aba0381400e3b31c1b7d2c73fab6d376e38810c2 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 63e2fef631383b9a44a2b727b9507fe058cba9c1 (diff) |
drm/amdkfd: fix cp hang in eviction
The cp hang occurs in OCL conformance test only on supermicro
platform which has 40 cores and the test generates 40 threads.
The root cause is race condition in non-protected flags.
The fix is to add flags of is_evicted and is_active(init_mqd())
into protected area.
Signed-off-by: Eric Huang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions