FROMLIST: binder: protect transaction_stack with inner lock.
authorMartijn Coenen <maco@google.com>
Fri, 2 Jun 2017 20:36:52 +0000 (13:36 -0700)
committerTodd Kjos <tkjos@google.com>
Thu, 13 Jul 2017 15:34:21 +0000 (08:34 -0700)
commit995a36e0402b844483e82498ca651c4a022ca608
tree438d5517ffa4142ba9cff0684d211bdc89bb8d15
parentb482790258e51bbe9c89ffdc6e55b2e5004e11f7
FROMLIST: binder: protect transaction_stack with inner lock.

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

This makes future changes to priority inheritance
easier, since we want to be able to look at a thread's
transaction stack when selecting a thread to inherit
priority for.

It also allows us to take just a single lock in a
few paths, where we used to take two in succession.

Change-Id: Ie30eaefe9f746577967bab76e64c49069b8a5cfa
Signed-off-by: Martijn Coenen <maco@google.com>
drivers/android/binder.c