summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTodd Kjos <tkjos@google.com>2017-01-06 14:19:25 -0800
committerTodd Kjos <tkjos@google.com>2017-07-13 15:11:25 +0000
commitafda44d0aa52f4427a6867fe784997f307b7fe31 (patch)
tree15654c7e63c12fca26f717ac80783b5c3c7bc3e9 /tools/perf/scripts/python
parent6ea6027115718c27e01e4459901c7938492cfa8f (diff)
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions