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

2017-04-06 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

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

2017-04-06 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

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

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

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

2017-04-04 Thread tip-bot for Xunlei Pang
Commit-ID: 2a1c6029940675abb2217b590512dbf691867ec4 Gitweb: http://git.kernel.org/tip/2a1c6029940675abb2217b590512dbf691867ec4 Author: Xunlei Pang AuthorDate: Thu, 23 Mar 2017 15:56:07 +0100 Committer: Thomas Gleixner CommitDate: Tue, 4 Apr 2017

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

2017-04-04 Thread tip-bot for Xunlei Pang
Commit-ID: 2a1c6029940675abb2217b590512dbf691867ec4 Gitweb: http://git.kernel.org/tip/2a1c6029940675abb2217b590512dbf691867ec4 Author: Xunlei Pang AuthorDate: Thu, 23 Mar 2017 15:56:07 +0100 Committer: Thomas Gleixner CommitDate: Tue, 4 Apr 2017 11:44:05 +0200 rtmutex: Deboost before