projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
282e06c
)
rcutorture: Add preempt_count() to rcutorture_one_extend_check() diagnostics
author
Paul E. McKenney
<paulmck@kernel.org>
Fri, 8 Nov 2024 22:58:54 +0000
(14:58 -0800)
committer
Uladzislau Rezki (Sony)
<urezki@gmail.com>
Sat, 14 Dec 2024 16:05:36 +0000
(17:05 +0100)
This commit adds the value of preempt_count() to the diagnostics produced
by rcutorture_one_extend_check() to improve debugging.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
kernel/rcu/rcutorture.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/rcu/rcutorture.c
b/kernel/rcu/rcutorture.c
index 235a73dad28016c39350978b358014c372a4b03e..70c27bd67be1eadf67af60f5525f0dbfe888a05f 100644
(file)
--- a/
kernel/rcu/rcutorture.c
+++ b/
kernel/rcu/rcutorture.c
@@
-1872,7
+1872,7
@@
static void rcu_torture_reader_do_mbchk(long myid, struct rcu_torture *rtp,
}
// Verify the specified RCUTORTURE_RDR* state.
-#define ROEC_ARGS "%s %s: Current %#x To add %#x To remove %#x
\n", __func__, s, curstate, new, old
+#define ROEC_ARGS "%s %s: Current %#x To add %#x To remove %#x
preempt_count() %#x\n", __func__, s, curstate, new, old, preempt_count()
static void rcutorture_one_extend_check(char *s, int curstate, int new, int old, bool insoftirq)
{
if (!IS_ENABLED(CONFIG_RCU_TORTURE_TEST_CHK_RDR_STATE))