diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-10-14 19:39:43 +0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-10-18 10:27:02 -0700 |
commit | e6c86c513f440bec5f1046539c7e3c6c653842da (patch) | |
tree | b74b9661a63b5b201ae8d3f0072d05e2bcbd3798 /scripts/bpf_doc.py | |
parent | 62c69e89e81bfbdb9a87ae3e0599dcc6aacf786b (diff) |
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 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions