summaryrefslogtreecommitdiffstats
path: root/kernel/locking/locktorture.c
diff options
context:
space:
mode:
authorPaul E. McKenney2015-03-12 21:55:48 +0100
committerPaul E. McKenney2015-05-27 21:59:57 +0200
commit3838cc1850ccd09f93e729e9047ec1995026f83e (patch)
tree10c704c147266b9083bc0f9a16e51116847057f4 /kernel/locking/locktorture.c
parentrcutorture: Exchange TREE03 and TREE08 NR_CPUS, speed up CPU hotplug (diff)
downloadkernel-qcow2-linux-3838cc1850ccd09f93e729e9047ec1995026f83e.tar.gz
kernel-qcow2-linux-3838cc1850ccd09f93e729e9047ec1995026f83e.tar.xz
kernel-qcow2-linux-3838cc1850ccd09f93e729e9047ec1995026f83e.zip
rcutorture: Allow negative values of nreaders to oversubscribe
By default, with rcutorture.nreaders equal to -1, rcutorture provisions N-1 reader kthreads, where N is the number of CPUs. This avoids rcutorture-induced stalls, but also avoids heavier levels of torture. This commit therefore allows negative values of rcutorture.nreaders to specify larger numbers of reader kthreads, so that for example rcutorture.nreaders=-2 provisions N kthreads and rcutorture.nreaders=-5 provisions N+3 kthreads. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> [ paulmck: Update documentation, as suggested by Josh Triplett. ]
Diffstat (limited to 'kernel/locking/locktorture.c')
0 files changed, 0 insertions, 0 deletions