Re: [patch-rt v2] rtmutex: Fix lock stealing logic

2017-06-26 Thread Sebastian Andrzej Siewior
On 2017-06-23 12:07:38 [+0200], Mike Galbraith wrote: > On Fri, 2017-06-23 at 09:37 +0200, Mike Galbraith wrote: > > V2 changes: > >   - beautification (ymmv) > >   - enable lock stealing when waiter is queued Applied. > (V3 s/steal/claim) Sebastian

Re: [patch-rt v2] rtmutex: Fix lock stealing logic

2017-06-26 Thread Sebastian Andrzej Siewior
On 2017-06-23 12:07:38 [+0200], Mike Galbraith wrote: > On Fri, 2017-06-23 at 09:37 +0200, Mike Galbraith wrote: > > V2 changes: > >   - beautification (ymmv) > >   - enable lock stealing when waiter is queued Applied. > (V3 s/steal/claim) Sebastian

Re: [patch-rt v2] rtmutex: Fix lock stealing logic

2017-06-23 Thread Steven Rostedt
On Fri, 23 Jun 2017 16:07:19 +0200 Mike Galbraith wrote: > On Fri, 2017-06-23 at 09:33 -0400, Steven Rostedt wrote: > > struct task_struct *task, > > > @@ -886,20 +901,16 @@ static int __try_to_take_rt_mutex(struct > > >*/ > > > if (waiter) {

Re: [patch-rt v2] rtmutex: Fix lock stealing logic

2017-06-23 Thread Steven Rostedt
On Fri, 23 Jun 2017 16:07:19 +0200 Mike Galbraith wrote: > On Fri, 2017-06-23 at 09:33 -0400, Steven Rostedt wrote: > > struct task_struct *task, > > > @@ -886,20 +901,16 @@ static int __try_to_take_rt_mutex(struct > > >*/ > > > if (waiter) { > > >

Re: [patch-rt v2] rtmutex: Fix lock stealing logic

2017-06-23 Thread Mike Galbraith
On Fri, 2017-06-23 at 09:33 -0400, Steven Rostedt wrote: > struct task_struct *task, > > @@ -886,20 +901,16 @@ static int __try_to_take_rt_mutex(struct > > */ > > if (waiter) { > > /* > > -* If waiter is not the highest priority

Re: [patch-rt v2] rtmutex: Fix lock stealing logic

2017-06-23 Thread Mike Galbraith
On Fri, 2017-06-23 at 09:33 -0400, Steven Rostedt wrote: > struct task_struct *task, > > @@ -886,20 +901,16 @@ static int __try_to_take_rt_mutex(struct > > */ > > if (waiter) { > > /* > > -* If waiter is not the highest priority

Re: [patch-rt v2] rtmutex: Fix lock stealing logic

2017-06-23 Thread Steven Rostedt
On Fri, 23 Jun 2017 09:37:14 +0200 Mike Galbraith wrote: > V2 changes: >   - beautification (ymmv) >   - enable lock stealing when waiter is queued > > rtmutex: Fix lock stealing logic > > 1. When trying to acquire an rtmutex, we first try to grab it without > queueing the

Re: [patch-rt v2] rtmutex: Fix lock stealing logic

2017-06-23 Thread Steven Rostedt
On Fri, 23 Jun 2017 09:37:14 +0200 Mike Galbraith wrote: > V2 changes: >   - beautification (ymmv) >   - enable lock stealing when waiter is queued > > rtmutex: Fix lock stealing logic > > 1. When trying to acquire an rtmutex, we first try to grab it without > queueing the waiter, and

Re: [patch-rt v2] rtmutex: Fix lock stealing logic

2017-06-23 Thread Mike Galbraith
On Fri, 2017-06-23 at 09:37 +0200, Mike Galbraith wrote: > V2 changes: >   - beautification (ymmv) >   - enable lock stealing when waiter is queued (V3 s/steal/claim)

Re: [patch-rt v2] rtmutex: Fix lock stealing logic

2017-06-23 Thread Mike Galbraith
On Fri, 2017-06-23 at 09:37 +0200, Mike Galbraith wrote: > V2 changes: >   - beautification (ymmv) >   - enable lock stealing when waiter is queued (V3 s/steal/claim)