summaryrefslogtreecommitdiff
path: root/kernel/rcutorture.c
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2006-10-03 23:26:16 +0200
committerAdrian Bunk <bunk@stusta.de>2006-10-03 23:26:16 +0200
commit4802211cfd68e44c8401a8fe3657e9c2522ec517 (patch)
treebfee43affa6ce5c4727df6281d7fb0f4d13ebe76 /kernel/rcutorture.c
parentd32ccc431b2247535ce1114d7e31cc136c89262a (diff)
downloadlwn-4802211cfd68e44c8401a8fe3657e9c2522ec517.tar.gz
lwn-4802211cfd68e44c8401a8fe3657e9c2522ec517.zip
rcutorture: Fix incorrect description of default for nreaders parameter
The comment for the nreaders parameter of rcutorture gives the default as 4*ncpus, but the value actually defaults to 2*ncpus; fix the comment. Signed-off-by: Josh Triplett <josh@freedesktop.org> Acked-by: Paul E. McKenney <paulmck@us.ibm.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'kernel/rcutorture.c')
-rw-r--r--kernel/rcutorture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c
index 4f2c4272d59c..23446e91cded 100644
--- a/kernel/rcutorture.c
+++ b/kernel/rcutorture.c
@@ -47,7 +47,7 @@
MODULE_LICENSE("GPL");
-static int nreaders = -1; /* # reader threads, defaults to 4*ncpus */
+static int nreaders = -1; /* # reader threads, defaults to 2*ncpus */
static int stat_interval; /* Interval between stats, in seconds. */
/* Defaults to "only at end of test". */
static int verbose; /* Print more debug info. */