ANDROID: binder: improve priority inheritance.
authorMartijn Coenen <maco@google.com>
Wed, 7 Jun 2017 17:02:12 +0000 (10:02 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commit7a6edeb62d86085b447a1c316f56d8d08c416e00
treef614c2feba1817099bc47849a567633d98f40e9e
parent69308b3b07dd86c163c4ee7ecd05aa4089f06485
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