summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuchun Chen <guchunc@codeaurora.org>2017-10-20 16:51:20 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-10-24 01:09:54 -0700
commitd0db21101bf6cc0130a9f33382368ca59a488eb1 (patch)
tree05397a8e574da40d7d3436632c0c18cb75207abf /tools/perf/scripts/python
parent9551e129dd2625ea2ab4fa5620820849b069ce2f (diff)
drm: msm: fix list corruption problem
When multiple worker threads compete to update event_list, with current vblank_ctrl_worker mechanism, there is one risk which can casue list node is deleted for twice. This is because, due to the protected scope by the spin_lock, mutex can exit when one thread is transvering the list, but another queue thread may continue to add new event to the list. This brings conflict risk. This patch is to correct this. Change-Id: Ice31462d196c57ce18d7b998c1a1f0b7feeb08fc Signed-off-by: Xiaowen Wu <wxiaowen@codeaurora.org> Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions