2006-08-16 22:21:00

by Josh Triplett

[permalink] [raw]
Subject: [PATCH] rcu: Mention rcu_bh in description of rcutorture's torture_type parameter

The comment for rcutorture's torture_type parameter only lists the RCU
variants rcu and srcu, but not rcu_bh; add rcu_bh to the list.

Signed-off-by: Josh Triplett <[email protected]>
---
kernel/rcutorture.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c
index e34d22b..aff0064 100644
--- a/kernel/rcutorture.c
+++ b/kernel/rcutorture.c
@@ -54,7 +54,7 @@ static int stat_interval; /* Interval be
static int verbose; /* Print more debug info. */
static int test_no_idle_hz; /* Test RCU's support for tickless idle CPUs. */
static int shuffle_interval = 5; /* Interval between shuffles (in sec)*/
-static char *torture_type = "rcu"; /* What to torture: rcu, srcu. */
+static char *torture_type = "rcu"; /* What to torture: rcu, rcu_bh, srcu. */

module_param(nreaders, int, 0);
MODULE_PARM_DESC(nreaders, "Number of RCU reader threads");
--
1.4.1.1



2006-08-16 23:38:20

by Paul E. McKenney

[permalink] [raw]
Subject: Re: [PATCH] rcu: Mention rcu_bh in description of rcutorture's torture_type parameter

On Wed, Aug 16, 2006 at 03:20:59PM -0700, Josh Triplett wrote:
> The comment for rcutorture's torture_type parameter only lists the RCU
> variants rcu and srcu, but not rcu_bh; add rcu_bh to the list.

Acked-by: Paul E. McKenney <[email protected]>
> Signed-off-by: Josh Triplett <[email protected]>
> ---
> kernel/rcutorture.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c
> index e34d22b..aff0064 100644
> --- a/kernel/rcutorture.c
> +++ b/kernel/rcutorture.c
> @@ -54,7 +54,7 @@ static int stat_interval; /* Interval be
> static int verbose; /* Print more debug info. */
> static int test_no_idle_hz; /* Test RCU's support for tickless idle CPUs. */
> static int shuffle_interval = 5; /* Interval between shuffles (in sec)*/
> -static char *torture_type = "rcu"; /* What to torture: rcu, srcu. */
> +static char *torture_type = "rcu"; /* What to torture: rcu, rcu_bh, srcu. */
>
> module_param(nreaders, int, 0);
> MODULE_PARM_DESC(nreaders, "Number of RCU reader threads");
> --
> 1.4.1.1
>
>