Skip to content

Commit

Permalink
fixup! tasks-rcu: Track blocked RCU Tasks Trace readers
Browse files Browse the repository at this point in the history
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
  • Loading branch information
paulmckrcu committed May 18, 2022
1 parent ff72838 commit 840470b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/rcupdate.h
Expand Up @@ -191,7 +191,7 @@ void rcu_tasks_trace_qs_blkd(struct task_struct *t);
#define rcu_tasks_qs(t, preempt) \
do { \
rcu_tasks_classic_qs((t), (preempt)); \
rcu_tasks_trace_qs((t)); \
rcu_tasks_trace_qs(t); \
} while (0)

# ifdef CONFIG_TASKS_RUDE_RCU
Expand All @@ -204,7 +204,7 @@ void exit_tasks_rcu_start(void);
void exit_tasks_rcu_finish(void);
#else /* #ifdef CONFIG_TASKS_RCU_GENERIC */
#define rcu_tasks_classic_qs(t, preempt) do { } while (0)
#define rcu_tasks_qs(t, preempt) do { } while (0)
#define rcu_tasks_qs(t, preempt) rcu_tasks_trace_qs(t);
#define rcu_note_voluntary_context_switch(t) do { } while (0)
#define call_rcu_tasks call_rcu
#define synchronize_rcu_tasks synchronize_rcu
Expand Down

0 comments on commit 840470b

Please sign in to comment.