Re: [PATCH RT] kernel/futex: don't deboost too early
From: Thomas Gleixner <hidden>
Date: 2016-09-30 18:46:11
Also in:
lkml
From: Thomas Gleixner <hidden>
Date: 2016-09-30 18:46:11
Also in:
lkml
On Fri, 30 Sep 2016, Steven Rostedt wrote:
This looks awfully complex. Would something as simple as this work? What harm can happen by moving the holding of the lock after the wakeups for RT?
That's exactly bringing us back to the state before we added the delayed wakeup so that the woken waiter will not be blocked on hb->lock right away. That's 2 extra context switches for nothing. Thanks, tglx