FROMLIST: binder: protect transaction_stack with inner lock.
authorMartijn Coenen <maco@google.com>
Fri, 2 Jun 2017 20:36:52 +0000 (13:36 -0700)
committerDanny Wood <danwood76@gmail.com>
Tue, 26 Feb 2019 11:36:34 +0000 (11:36 +0000)
commita45c586fbdd7f93c7a5f14e59b194c7aa5a577ef
tree942820e6e45605199ceb7bccd83e1ccd5ded0aae
parentaed017319cbebd19377dea2452c56d389e433fb9
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: Idb1b6e9faa5c669978b2b3011fe326be8aece586
Signed-off-by: Martijn Coenen <maco@google.com>
drivers/android/binder.c