aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/rcutree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2019-07-10 08:01:01 -0700
committerPaul E. McKenney <paulmck@kernel.org>2019-10-05 10:46:05 -0700
commit366237e7b0833faa2d8da7a8d7d7da8c3ca802e5 (patch)
tree5944c55f1dd161c7c1a2420fb259854930324df2 /include/linux/rcutree.h
parentrcutorture: Force on tick for readers and callback flooders (diff)
downloadwireguard-linux-366237e7b0833faa2d8da7a8d7d7da8c3ca802e5.tar.xz
wireguard-linux-366237e7b0833faa2d8da7a8d7d7da8c3ca802e5.zip
stop_machine: Provide RCU quiescent state in multi_cpu_stop()
When multi_cpu_stop() loops waiting for other tasks, it can trigger an RCU CPU stall warning. This can be misleading because what is instead needed is information on whatever task is blocking multi_cpu_stop(). This commit therefore inserts an RCU quiescent state into the multi_cpu_stop() function's waitloop. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/linux/rcutree.h')
-rw-r--r--include/linux/rcutree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h
index 18b1ed9864b0..c5147de885ec 100644
--- a/include/linux/rcutree.h
+++ b/include/linux/rcutree.h
@@ -37,6 +37,7 @@ void kfree_call_rcu(struct rcu_head *head, rcu_callback_t func);
void rcu_barrier(void);
bool rcu_eqs_special_set(int cpu);
+void rcu_momentary_dyntick_idle(void);
unsigned long get_state_synchronize_rcu(void);
void cond_synchronize_rcu(unsigned long oldstate);