FROMLIST: binder: add spinlock to protect binder_node
authorTodd Kjos <tkjos@google.com>
Thu, 8 Jun 2017 20:45:59 +0000 (13:45 -0700)
committerDanny Wood <danwood76@gmail.com>
Tue, 26 Feb 2019 11:36:33 +0000 (11:36 +0000)
commit25de59a549e0388981c0ee0e763b2b9cfd26f96f
tree53b5b2f72aa1aa16842da67a8f9804a45dce6b9b
parentaad8732cd4acfc22f50b119ea95da30e83c47c21
FROMLIST: binder: add spinlock to protect binder_node

(from https://patchwork.kernel.org/patch/9817769/)

node->node_lock is used to protect elements of node. No
need to acquire for fields that are invariant: debug_id,
ptr, cookie.

Change-Id: Ib7738e52fa7689767f17136e18cc05ff548b5717
Signed-off-by: Todd Kjos <tkjos@google.com>
drivers/android/binder.c