mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
rcu-tasks: Add comments explaining task_struct strategy
Accesses to task_struct structures must be either protected by RCU or by get_task_struct(). Tasks trace RCU uses these in a non-obvious combination, in conjunction with an IPI handler. This commit therefore adds comments explaining this usage. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
2734d6c1b1
commit
45f4b4a202
1 changed files with 10 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue