Re: [PATCH 7/9] locktorture: Add infrastructure for torturing read locks

2014-09-12 Thread Davidlohr Bueso
On Fri, 2014-09-12 at 09:06 -0700, Paul E. McKenney wrote: > On Thu, Sep 11, 2014 at 09:40:41PM -0700, Davidlohr Bueso wrote: > > In addition, introduce a new nreaders_stress module parameter. The > > default number of readers will be the same number of writers threads. > > Writer threads are

Re: [PATCH 7/9] locktorture: Add infrastructure for torturing read locks

2014-09-12 Thread Paul E. McKenney
On Thu, Sep 11, 2014 at 09:40:41PM -0700, Davidlohr Bueso wrote: > Most of it is based on what we already have for writers. This allows > readers to be very independent (and thus configurable), enabling > future module parameters to control things such as rw distribution. > Furthermore, readers

Re: [PATCH 7/9] locktorture: Add infrastructure for torturing read locks

2014-09-12 Thread Paul E. McKenney
On Thu, Sep 11, 2014 at 09:40:41PM -0700, Davidlohr Bueso wrote: Most of it is based on what we already have for writers. This allows readers to be very independent (and thus configurable), enabling future module parameters to control things such as rw distribution. Furthermore, readers have

Re: [PATCH 7/9] locktorture: Add infrastructure for torturing read locks

2014-09-12 Thread Davidlohr Bueso
On Fri, 2014-09-12 at 09:06 -0700, Paul E. McKenney wrote: On Thu, Sep 11, 2014 at 09:40:41PM -0700, Davidlohr Bueso wrote: In addition, introduce a new nreaders_stress module parameter. The default number of readers will be the same number of writers threads. Writer threads are interleaved

[PATCH 7/9] locktorture: Add infrastructure for torturing read locks

2014-09-11 Thread Davidlohr Bueso
Most of it is based on what we already have for writers. This allows readers to be very independent (and thus configurable), enabling future module parameters to control things such as rw distribution. Furthermore, readers have their own delaying function, allowing us to test different rw critical

[PATCH 7/9] locktorture: Add infrastructure for torturing read locks

2014-09-11 Thread Davidlohr Bueso
Most of it is based on what we already have for writers. This allows readers to be very independent (and thus configurable), enabling future module parameters to control things such as rw distribution. Furthermore, readers have their own delaying function, allowing us to test different rw critical