linux/drivers/android
Todd Kjos 14c30afdb8 FROMLIST: binder: don't modify thread->looper from other threads
(from https://patchwork.kernel.org/patch/9817799/)

The looper member of struct binder_thread is a bitmask
of control bits. All of the existing bits are modified
by the affected thread except for BINDER_LOOPER_STATE_NEED_RETURN
which can be modified in binder_deferred_flush() by
another thread.

To avoid adding a spinlock around all read-mod-writes to
modify a bit, the BINDER_LOOPER_STATE_NEED_RETURN flag
is replaced by a separate field in struct binder_thread.

Bug: 33250092 32225111
Change-Id: Ia4cefbdbd683c6cb17c323ba7d278de5f2ca0745
Signed-off-by: Todd Kjos <tkjos@google.com>
2017-08-11 19:31:04 +05:30
..
binder_alloc.c FROMLIST: binder: add log information for binder transaction failures 2017-08-11 19:31:04 +05:30
binder_alloc.h FROMLIST: binder: move binder_alloc to separate file 2017-08-11 19:31:04 +05:30
binder_trace.h FROMLIST: binder: separate out binder_alloc functions 2017-08-11 19:31:04 +05:30
binder.c FROMLIST: binder: don't modify thread->looper from other threads 2017-08-11 19:31:04 +05:30
Kconfig ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES. 2017-04-10 13:28:07 +05:30
Makefile FROMLIST: binder: move binder_alloc to separate file 2017-08-11 19:31:04 +05:30