]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2988ee9d81d2d793587c68285cf538e774a676fe
tree4ca98f3c279c7595a906f3a8b9f8e315befd418c
parent30b21d34f607754fa0995157b5230839ce54529a
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