diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2023-10-11 19:45:54 +0300 |
---|---|---|
committer | Neeraj Upadhyay (AMD) <neeraj.iitr10@gmail.com> | 2023-12-11 23:52:47 +0300 |
commit | 18966f7b9458d3b19412fe9dfb421ab59401bfe1 (patch) | |
tree | 366bb0f9955c056d16d28bfdde2e257eff2eb147 /tools/testing/selftests/bpf/bpf_kfuncs.h | |
parent | 98b1cc82c4affc16f5598d4fa14b1858671b2263 (diff) | |
download | linux-18966f7b9458d3b19412fe9dfb421ab59401bfe1.tar.xz |
rcu-tasks: Mark RCU Tasks accesses to current->rcu_tasks_idle_cpu
The task_struct structure's ->rcu_tasks_idle_cpu can be concurrently
read and written from the RCU Tasks grace-period kthread and from the
CPU on which the task_struct structure's task is running. This commit
therefore marks the accesses appropriately.
Reported-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Neeraj Upadhyay (AMD) <neeraj.iitr10@gmail.com>
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_kfuncs.h')
0 files changed, 0 insertions, 0 deletions