Re: [PATCH tip/core/rcu 2/3] rcutorture: Test both RCU-sched and RCU-bh for Tiny RCU

From: josh
Date: Tue May 12 2015 - 20:59:40 EST


On Tue, May 12, 2015 at 03:49:12PM -0700, Paul E. McKenney wrote:
> From: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
>
> Reported-by: "Ahmed, Iftekhar" <ahmedi@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>

Could you elaborate a bit more on this patch (ideally in its commit
message)? I see an addition of a command-line parameter to test rcu_bh;
is rcu-sched already tested elsewhere by some other config, or does this
parameter somehow enable testing both?

> tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot b/tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot
> index 0f0802730014..6c1a292a65fb 100644
> --- a/tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot
> +++ b/tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot
> @@ -1,2 +1,3 @@
> rcupdate.rcu_self_test=1
> rcupdate.rcu_self_test_bh=1
> +rcutorture.torture_type=rcu_bh
> --
> 1.8.1.5
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/