diff options
| author | Jerry Zuo <[email protected]> | 2017-07-31 17:10:44 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-09-26 18:16:36 -0400 |
| commit | e8cd26434df0cd8d97f31aeb4399afcdc37fcfda (patch) | |
| tree | 26614c3e36f8cb14e10d34a5431c4dcf2efe820f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f81483c4ccca0d2ceca14ee15564a14f2c34eb2c (diff) | |
drm/amd/display: Use atomic types for ref_count
Current ref_count inc/dec is not guarded by locks which leads to
a raced condition where two threads try to access the variable
at the same time. In this case, both might act on the same cached
value and inc/dec from the same value, rather than inc/dec by 2.
Signed-off-by: Jerry Zuo <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions