summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorØrjan Eide <orjan.eide@arm.com>2013-03-01 04:43:24 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-04 13:46:55 +0400
commit713648f0f137e149a1acade3278b621728291f37 (patch)
tree632711740659a87671464a330c06c87eeefeb947 /tools/perf/scripts/python
parentb699a644f82110e8e5a0f9b45ee1d3a3cd3e4586 (diff)
downloadlinux-713648f0f137e149a1acade3278b621728291f37.tar.xz
staging: sync: Fix race condition between merge and signal
The copied sync_pt was activated immediately. If the sync_pt was signaled before the entire merge was completed, the new fence's pt_list could be iterated over while it is still in the process of being created. Moving the the sync_pt_activate call for all new sync_pts to after both the sync_fence_copy_pts and the sync_fence_merge_pts calls ensure that the pt_list is complete and immutable before it can be reached from the timeline's active list. Cc: Maarten Lankhorst <maarten.lankhorst@canonical.com> Cc: Erik Gilling <konkers@android.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Rob Clark <robclark@gmail.com> Cc: Sumit Semwal <sumit.semwal@linaro.org> Cc: dri-devel@lists.freedesktop.org Cc: Android Kernel Team <kernel-team@android.com> Signed-off-by: Erik Gilling <konkers@android.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions