* [PATCH] rcu: Fix incorrect description of default for rcutorture nreaders parameter
@ 2006-08-16 22:17 Josh Triplett
2006-08-16 23:35 ` Paul E. McKenney
0 siblings, 1 reply; 2+ messages in thread
From: Josh Triplett @ 2006-08-16 22:17 UTC (permalink / raw)
To: linux-kernel, Andrew Morton, Paul McKenney, Dipkanar Sarma
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>
---
kernel/rcutorture.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c
index 0778a3d..e34d22b 100644
--- a/kernel/rcutorture.c
+++ b/kernel/rcutorture.c
@@ -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. */
--
1.4.1.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rcu: Fix incorrect description of default for rcutorture nreaders parameter
2006-08-16 22:17 [PATCH] rcu: Fix incorrect description of default for rcutorture nreaders parameter Josh Triplett
@ 2006-08-16 23:35 ` Paul E. McKenney
0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2006-08-16 23:35 UTC (permalink / raw)
To: Josh Triplett; +Cc: linux-kernel, Andrew Morton, Dipkanar Sarma
On Wed, Aug 16, 2006 at 03:17:04PM -0700, Josh Triplett wrote:
> 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 <paulmck@us.ibm.com>
> Signed-off-by: Josh Triplett <josh@freedesktop.org>
> ---
> kernel/rcutorture.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c
> index 0778a3d..e34d22b 100644
> --- a/kernel/rcutorture.c
> +++ b/kernel/rcutorture.c
> @@ -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. */
> --
> 1.4.1.1
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-16 23:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-16 22:17 [PATCH] rcu: Fix incorrect description of default for rcutorture nreaders parameter Josh Triplett
2006-08-16 23:35 ` Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox