| commit | 2b8ae38e13f1341d44eb9788407ca7c436f4cd10 | [log] [tgz] |
|---|---|---|
| author | Davidlohr Bueso <dave@stgolabs.net> | Mon May 15 02:07:23 2017 -0700 |
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Wed Nov 08 08:45:18 2017 -0800 |
| tree | 726989fa9cf766d53099b84b267bf4f4288f1da0 | |
| parent | adda2635ef6028c7ab3b3d57026b73c704b34884 [diff] |
locking/locktorture: Fix num reader/writer corner cases Things can explode for locktorture if the user does combinations of nwriters_stress=0 nreaders_stress=0. Fix this by not assuming we always want to torture writer threads. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>