diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2017-05-15 11:07:23 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-12-11 18:18:28 +0100 |
commit | 2ce77d16db4240dd2e422fc0a5c26d3e2ec03446 (patch) | |
tree | fbce40ef15840b4aecb33f0c5744aa2a0fe1c2fb /.get_maintainer.ignore | |
parent | locking/locktorture: Fix rwsem reader_delay (diff) | |
download | linux-2ce77d16db4240dd2e422fc0a5c26d3e2ec03446.tar.xz linux-2ce77d16db4240dd2e422fc0a5c26d3e2ec03446.zip |
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.
Reported-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Jeremy Linton <jeremy.linton@arm.com>
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions