Re: [PATCH RT 1/2] rwsem-rt: Do not allow readers to nest

2015-02-25 Thread Sebastian Andrzej Siewior
On 02/18/2015 09:13 PM, Steven Rostedt wrote: >> Here the same thing but without cmpxchg(). _If_ after an increment the >> value is negative then we take slowpath. Otherwise we have the lock. > > OK, so I need to make it so it can nest with trylock. I have to look at > the patch again because it

Re: [PATCH RT 1/2] rwsem-rt: Do not allow readers to nest

2015-02-19 Thread Jason Low
On Wed, Feb 18, 2015 at 12:13 PM, Steven Rostedt wrote: > On Wed, 18 Feb 2015 20:57:10 +0100 > Sebastian Andrzej Siewior wrote: > >> * Steven Rostedt | 2014-04-08 22:47:01 [-0400]: >> >> >From: "Steven Rostedt (Red Hat)" >> > >> >The readers of mainline rwsems are not allowed to nest, the rwsems

Re: [PATCH RT 1/2] rwsem-rt: Do not allow readers to nest

2015-02-18 Thread Steven Rostedt
On Wed, 18 Feb 2015 20:57:10 +0100 Sebastian Andrzej Siewior wrote: > * Steven Rostedt | 2014-04-08 22:47:01 [-0400]: > > >From: "Steven Rostedt (Red Hat)" > > > >The readers of mainline rwsems are not allowed to nest, the rwsems in the > >PREEMPT_RT kernel should not nest either. > > I applie

Re: [PATCH RT 1/2] rwsem-rt: Do not allow readers to nest

2015-02-18 Thread Sebastian Andrzej Siewior
* Steven Rostedt | 2014-04-08 22:47:01 [-0400]: >From: "Steven Rostedt (Red Hat)" > >The readers of mainline rwsems are not allowed to nest, the rwsems in the >PREEMPT_RT kernel should not nest either. I applied this and this is the reason why cpufreq isn't working. What I see in cpufreq is: |

Re: [PATCH RT 1/2] rwsem-rt: Do not allow readers to nest

2014-05-02 Thread Sebastian Andrzej Siewior
* Steven Rostedt | 2014-04-08 22:47:01 [-0400]: >From: "Steven Rostedt (Red Hat)" > >The readers of mainline rwsems are not allowed to nest, the rwsems in the >PREEMPT_RT kernel should not nest either. > >Signed-off-by: Steven Rostedt Applied Sebastian -- To unsubscribe from this list: send th

[PATCH RT 1/2] rwsem-rt: Do not allow readers to nest

2014-04-08 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The readers of mainline rwsems are not allowed to nest, the rwsems in the PREEMPT_RT kernel should not nest either. Signed-off-by: Steven Rostedt --- include/linux/rwsem_rt.h | 1 - kernel/rt.c | 37 - 2 files c