diff options
| author | Erik Gilling <konkers@android.com> | 2013-03-01 04:43:18 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-04 13:46:54 +0400 |
| commit | c679212dbfd060513e156133326122bf9f496579 (patch) | |
| tree | 45d7d131fb492e9ff268b36fed8f907b1771a7b8 /tools/perf/scripts/python | |
| parent | 7560645406b8341ab74644b505297e3e32fa6f3a (diff) | |
| download | linux-c679212dbfd060513e156133326122bf9f496579.tar.xz | |
staging: sync: Protect unlocked access to fence status
Fence status is checked outside of locks in both sync_fence_wait and
sync_fence_poll. This patch adds propper barrier protection in these
cases to avoid seeing stale status.
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
