linux/drivers/staging/android
Dmitry Torokhov 699f685569 android: unconditionally remove callbacks in sync_fence_free()
Using fence->status to determine whether or not there are callbacks
remaining on the sync_fence is racy since fence->status may have been
decremented to 0 on another CPU before fence_check_cb_func() has
completed.  By unconditionally calling fence_remove_callback() for each
fence in the sync_fence, we guarantee that each callback has either
completed (since fence_remove_callback() grabs the fence lock) or been
removed.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-12-21 13:37:53 -08:00
..
ion staging: android: ion: Add ion driver for Hi6220 SoC platform 2015-12-21 13:36:01 -08:00
trace
uapi staging: android: Fix checkpatch block comments warnings 2015-09-29 04:22:31 +02:00
ashmem.c staging: android: ashmem.c: destroy slabs when init fails 2015-12-21 13:37:53 -08:00
ashmem.h
Kconfig staging: android: fix typo 2015-09-12 18:24:57 -07:00
lowmemorykiller.c staging: android: properly align function arguments 2015-11-15 20:02:47 -08:00
Makefile staging: Remove logger and alarm-dev from android Makefile 2015-01-28 11:32:39 -08:00
sw_sync.c drivers/staging: make android sw_sync.c explicitly non-modular 2015-10-12 21:12:17 -07:00
sw_sync.h staging: android: sw_sync: checkpatch fixes 2014-09-19 16:35:53 -07:00
sync_debug.c staging/android/sync: Support sync points created from dma-fences 2015-12-21 13:37:53 -08:00
sync.c android: unconditionally remove callbacks in sync_fence_free() 2015-12-21 13:37:53 -08:00
sync.h staging/android/sync: add sync_fence_create_dma 2015-12-21 13:37:53 -08:00
timed_gpio.c staging: android: remove multiple blank lines 2015-11-15 20:02:47 -08:00
timed_gpio.h
timed_output.c drivers/staging: make android timed_output.c explicitly non-modular 2015-10-12 21:12:17 -07:00
timed_output.h
TODO staging/android: add TODO to de-stage android sync framework 2015-12-14 11:05:45 -08:00