Skip to contentSkip to conversation

rcu: Fix incorrect description of default for rcutorture nreaders parameter

PATCH In review Josh Triplett 2 participants 2 messages Aug 16, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rcu: Fix incorrect description of default for rcutorture 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.

---
 kernel/rcutorture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/rcutorture.c +1 -1
index 0778a3d..e34d22b 100644
@@ -48,7 +48,7 @@ #include <linux/srcu.h>
 
 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. */
Signature · 1 line
1.4.1.1
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Josh Triplett

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.

Quoted 22 lines
---
 kernel/rcutorture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/rcutorture.c +1 -1
index 0778a3d..e34d22b 100644
@@ -48,7 +48,7 @@ #include <linux/srcu.h>
 
 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. */
Signature · 1 line
1.4.1.1