commit | 45f4b4a202c03de14e315aaae3d305820cd12221 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@kernel.org> | Mon May 24 11:26:53 2021 -0700 |
committer | Paul E. McKenney <paulmck@kernel.org> | Tue Jul 20 13:43:44 2021 -0700 |
tree | 6452dd2f25e25c186e2656c80400946e0be0f026 | |
parent | 2734d6c1b1a089fb593ef6a23d4b70903526fe0c [diff] |
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>