rcu-tasks: Add data structures for lightweight grace periods
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 17 May 2022 00:56:16 +0000 (17:56 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 20 Jun 2022 16:22:28 +0000 (09:22 -0700)
commit434c9eefb959c36331a93617ea95df903469b99f
tree4ca98f3c279c7595a906f3a8b9f8e315befd418c
parentf90f19da88bfe32dd1fdfd104de4c0526a3be701
rcu-tasks: Add data structures for lightweight grace periods

This commit adds fields to task_struct and to rcu_tasks_percpu that will
be used to avoid the task-list scan for RCU Tasks Trace grace periods,
and also initializes these fields.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Martin KaFai Lau <kafai@fb.com>
Cc: KP Singh <kpsingh@kernel.org>
include/linux/sched.h
init/init_task.c
kernel/fork.c
kernel/rcu/tasks.h