summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree_exp.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-10-14 19:39:43 +0800
committerAlexei Starovoitov <ast@kernel.org>2022-10-18 10:27:02 -0700
commite6c86c513f440bec5f1046539c7e3c6c653842da (patch)
treeb74b9661a63b5b201ae8d3f0072d05e2bcbd3798 /kernel/rcu/tree_exp.h
parent62c69e89e81bfbdb9a87ae3e0599dcc6aacf786b (diff)
downloadlinux-e6c86c513f440bec5f1046539c7e3c6c653842da.tar.bz2
rcu-tasks: Provide rcu_trace_implies_rcu_gp()
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: Hou Tao <houtao@huaweicloud.com> Signed-off-by: Paul 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: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/rcu/tree_exp.h')
0 files changed, 0 insertions, 0 deletions