Re: [PATCH v3 5/6] ANDROID: binder: don't check prio permissions on restore.
From: Peter Zijlstra
Date: Wed Nov 15 2017 - 08:08:40 EST
On Thu, Oct 26, 2017 at 04:07:49PM +0200, Martijn Coenen wrote:
> Because we have disabled RT priority inheritance for
> the regular binder domain, the following can happen:
>
> 1) thread A (prio 98) calls into thread B
> 2) because RT prio inheritance is disabled, thread B
> runs at the lowest nice (prio 100) instead
> 3) thread B calls back into A; A will run at prio 100
> for the duration of the transaction
That sounds wrong.. Why would you ever downgrade A?