Files
linux/kernel
Davidlohr Bueso 45ecf34000 locking/locktorture: Fix num reader/writer corner cases
[ Upstream commit 2ce77d16db ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-19 09:10:00 +01:00
..
2018-01-25 14:48:30 +01:00
2017-05-18 10:30:19 -06:00
2018-01-24 09:58:18 +01:00
2017-10-20 11:02:29 +02:00
2017-11-17 16:10:04 -08:00
2017-11-15 18:21:05 -08:00
2017-11-17 16:10:03 -08:00
2017-10-31 17:22:58 -05:00