Re: [tip:locking/core] rtmutex: Deboost before waking up the top waiter

2017-04-05 Thread Xunlei Pang
On 04/05/2017 at 04:08 PM, Mike Galbraith wrote: > locking/rtmutex: Fix preempt leak in __rt_mutex_futex_unlock() > > mark_wakeup_next_waiter() already disables preemption, doing so > again leaves us with an unpaired preempt_disable(). You can also fix the corresponding comment in rt_mutex_postunl

Re: [tip:locking/core] rtmutex: Deboost before waking up the top waiter

2017-04-05 Thread Mike Galbraith
locking/rtmutex: Fix preempt leak in __rt_mutex_futex_unlock() mark_wakeup_next_waiter() already disables preemption, doing so again leaves us with an unpaired preempt_disable(). Signed-off-by: Mike Galbraith --- kernel/locking/rtmutex.c | 10 +- 1 file changed, 5 insertions(+), 5 del