binder: protect transaction_stack with inner lock.
authorMartijn Coenen <maco@google.com>
Thu, 29 Jun 2017 19:02:06 +0000 (12:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 12:48:24 +0000 (14:48 +0200)
commit0b89d69a96258810ce2cb8892c95214f4bbe4b25
treeb52678a354596cec0c27593a1ab55833298f379f
parent7bd7b0e639afb847a14ca994795fb5c64d2a7bf4
binder: protect transaction_stack with inner lock.

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.

Signed-off-by: Martijn Coenen <maco@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c