ANDROID: binder: improve priority inheritance.
authorMartijn Coenen <maco@google.com>
Wed, 7 Jun 2017 17:02:12 +0000 (10:02 -0700)
committerMartijn Coenen <maco@android.com>
Wed, 19 Jul 2017 08:12:52 +0000 (10:12 +0200)
commit07a30fe025b8d156f6b2ea23d6339f4ba4100bd9
treecb1e4f9c08ed3738009e23257d003452526e4aed
parent6aac9798d8eedf25c9c643dbaa62f44022d14034
ANDROID: binder: improve priority inheritance.

By raising the priority of a thread selected for
a transaction *before* we wake it up.

Delay restoring the priority when doing a reply
until after we wake-up the process receiving
the reply.

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