OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2f74b5
)
rcutorture: Add more diagnostics in rcu_barrier() test failure case
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Thu, 18 Dec 2014 02:39:54 +0000
(18:39 -0800)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Sun, 11 Jan 2015 03:08:06 +0000
(19:08 -0800)
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcutorture.c
patch
|
blob
|
history
diff --git
a/kernel/rcu/rcutorture.c
b/kernel/rcu/rcutorture.c
index
24142c2
..
30d42aa
100644
(file)
--- a/
kernel/rcu/rcutorture.c
+++ b/
kernel/rcu/rcutorture.c
@@
-1427,6
+1427,9
@@
static int rcu_torture_barrier(void *arg)
cur_ops->cb_barrier(); /* Implies smp_mb() for wait_event(). */
if (atomic_read(&barrier_cbs_invoked) != n_barrier_cbs) {
n_rcu_torture_barrier_error++;
+ pr_err("barrier_cbs_invoked = %d, n_barrier_cbs = %d\n",
+ atomic_read(&barrier_cbs_invoked),
+ n_barrier_cbs);
WARN_ON_ONCE(1);
}
n_barrier_successes++;