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
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
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
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
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
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
6 matches
Mail list logo