Re: [PATCH v3 3/6] ANDROID: binder: improve priority inheritance.

2017-11-16 Thread Martijn Coenen
On Wed, Nov 15, 2017 at 2:03 PM, Peter Zijlstra wrote: > On Thu, Oct 26, 2017 at 04:07:47PM +0200, Martijn Coenen wrote: >> 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

Re: [PATCH v3 3/6] ANDROID: binder: improve priority inheritance.

2017-11-15 Thread Peter Zijlstra
On Thu, Oct 26, 2017 at 04:07:47PM +0200, Martijn Coenen wrote: > 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. What happens if a thread dies?

[PATCH v3 3/6] ANDROID: binder: improve priority inheritance.

2017-10-26 Thread Martijn Coenen
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. Signed-off-by: Martijn Coenen --- drivers/android/binder.c | 74 ++--