Skip to content
Snippets Groups Projects
Commit 93c37f1c authored by Paul E. McKenney's avatar Paul E. McKenney Committed by Sasha Levin
Browse files

rcu-tasks: Provide rcu_trace_implies_rcu_gp()


[ Upstream commit e6c86c51 ]

As an accident of implementation, an RCU Tasks Trace grace period also
acts as an RCU grace period.  However, this could change at any time.
This commit therefore creates an rcu_trace_implies_rcu_gp() that currently
returns true to codify this accident.  Code relying on this accident
must call this function to verify that this accident is still happening.

Reported-by: default avatarHou Tao <houtao@huaweicloud.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Martin KaFai Lau <martin.lau@linux.dev>
Link: https://lore.kernel.org/r/20221014113946.965131-2-houtao@huaweicloud.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Stable-dep-of: 87667336 ("bpf: Defer the free of inner map when necessary")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
(cherry picked from commit 10108826191ab30388e8ae9d54505a628f78a7ec)
Signed-off-by: default avatarRobert Kolchmeyer <rkolchmeyer@google.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a6771f34
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment