* [PATCH] rcutorture: Print out barrier error as document says
@ 2016-08-13 6:54 SeongJae Park
2016-08-14 2:40 ` Paul E. McKenney
0 siblings, 1 reply; 2+ messages in thread
From: SeongJae Park @ 2016-08-13 6:54 UTC (permalink / raw)
To: paulmck, josh; +Cc: linux-kernel, SeongJae Park
Test for rcu_barrier() has introduced by commit fae4b54f28f0 ("rcu:
Introduce rcutorture testing for rcu_barrier()"). Updated document says
that `rtbe` field of output indicates failure of the test. However, the
code has not updated as so. This commit updates the code to print out
the field as document says.
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
kernel/rcu/rcutorture.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c
index f0f32f8..ac29017 100644
--- a/kernel/rcu/rcutorture.c
+++ b/kernel/rcu/rcutorture.c
@@ -1259,8 +1259,9 @@ rcu_torture_stats_print(void)
atomic_read(&n_rcu_torture_alloc),
atomic_read(&n_rcu_torture_alloc_fail),
atomic_read(&n_rcu_torture_free));
- pr_cont("rtmbe: %d rtbke: %ld rtbre: %ld ",
+ pr_cont("rtmbe: %d rtbe: %ld rtbke: %ld rtbre: %ld ",
atomic_read(&n_rcu_torture_mberror),
+ n_rcu_torture_barrier_error,
n_rcu_torture_boost_ktrerror,
n_rcu_torture_boost_rterror);
pr_cont("rtbf: %ld rtb: %ld nt: %ld ",
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rcutorture: Print out barrier error as document says
2016-08-13 6:54 [PATCH] rcutorture: Print out barrier error as document says SeongJae Park
@ 2016-08-14 2:40 ` Paul E. McKenney
0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2016-08-14 2:40 UTC (permalink / raw)
To: SeongJae Park; +Cc: josh, linux-kernel
On Sat, Aug 13, 2016 at 03:54:35PM +0900, SeongJae Park wrote:
> Test for rcu_barrier() has introduced by commit fae4b54f28f0 ("rcu:
> Introduce rcutorture testing for rcu_barrier()"). Updated document says
> that `rtbe` field of output indicates failure of the test. However, the
> code has not updated as so. This commit updates the code to print out
> the field as document says.
>
> Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Good catch, queue!
Thanx, Paul
> ---
> kernel/rcu/rcutorture.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c
> index f0f32f8..ac29017 100644
> --- a/kernel/rcu/rcutorture.c
> +++ b/kernel/rcu/rcutorture.c
> @@ -1259,8 +1259,9 @@ rcu_torture_stats_print(void)
> atomic_read(&n_rcu_torture_alloc),
> atomic_read(&n_rcu_torture_alloc_fail),
> atomic_read(&n_rcu_torture_free));
> - pr_cont("rtmbe: %d rtbke: %ld rtbre: %ld ",
> + pr_cont("rtmbe: %d rtbe: %ld rtbke: %ld rtbre: %ld ",
> atomic_read(&n_rcu_torture_mberror),
> + n_rcu_torture_barrier_error,
> n_rcu_torture_boost_ktrerror,
> n_rcu_torture_boost_rterror);
> pr_cont("rtbf: %ld rtb: %ld nt: %ld ",
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-14 8:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-13 6:54 [PATCH] rcutorture: Print out barrier error as document says SeongJae Park
2016-08-14 2:40 ` Paul E. McKenney
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.