rcu: Fix incorrect description of default for rcutorture nreaders parameter
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.
Signed-off-by Josh Triplett <[email protected]>
--- kernel/rcutorture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/rcutorture.c +1 -1
@@ -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
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.
Acked-by Paul E. McKenney <[email protected]>
Quoted 22 lines
Signed-off-by Josh Triplett <[email protected]>--- kernel/rcutorture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)kernel/rcutorture.c +1
-1@@ -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