ANDROID: binder: improve priority inheritance.
authorMartijn Coenen <maco@google.com>
Wed, 7 Jun 2017 17:02:12 +0000 (10:02 -0700)
committerDanny Wood <danwood76@gmail.com>
Tue, 26 Feb 2019 16:34:26 +0000 (16:34 +0000)
commitc1dd125f40a8a551aa75edd1cef7712fa47adbbe
treebca261d66f5aceedf6e5d3af6ee6050262712b3e
parentfbb541d242be05f484c1198ba6aa7fcf4730fa3a
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