summaryrefslogtreecommitdiffstats
path: root/Documentation/SM501.txt
diff options
context:
space:
mode:
authorTodd Kjos <tkjos@android.com>2017-06-29 12:01:49 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-17 14:47:29 +0200
commit08dabceefee0eddace493fc16da172c93402187f (patch)
tree2adeda656687f13b4238936377b6328a8444b4ee /Documentation/SM501.txt
parentccae6f676001d00efd1a4626773d1577e53188f7 (diff)
downloadtalos-obmc-linux-08dabceefee0eddace493fc16da172c93402187f.tar.gz
talos-obmc-linux-08dabceefee0eddace493fc16da172c93402187f.zip
binder: don't modify thread->looper from other threads
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. Signed-off-by: Todd Kjos <tkjos@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/SM501.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud