]> err.no Git - linux-2.6/commitdiff
rcutorture: Fix incorrect description of default for nreaders parameter
authorJosh Triplett <josh@freedesktop.org>
Tue, 3 Oct 2006 21:26:16 +0000 (23:26 +0200)
committerAdrian Bunk <bunk@stusta.de>
Tue, 3 Oct 2006 21:26:16 +0000 (23:26 +0200)
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>
kernel/rcutorture.c

index 4f2c4272d59c91bda58823e8f6e04e121c85458d..23446e91cded9c32686049f957fcc9220bdaa32d 100644 (file)
@@ -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. */