On Wed, Nov 15, 2017 at 2:03 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> 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 process receiving >> the reply. > > What happens if a thread dies? Binder threads should never exit, but if they do, the whole process exits. Anyway in that case we still restore the priority of this thread - it's in the error path in the "@@ -3328,6 +3369,7 @@" section. _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel