Skip to content
Snippets Groups Projects
Commit a24c1aab authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Mark rcu_cpu_kthread() accesses to ->rcu_cpu_has_work


The rcu_data structure's ->rcu_cpu_has_work field can be modified by
any CPU attempting to wake up the rcuc kthread.  Therefore, this commit
marks accesses to this field from the rcu_cpu_kthread() function.

This data race was reported by KCSAN.  Not appropriate for backporting
due to failure being unlikely.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 9146eb25
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment