diff options
author | Paul E. McKenney <[email protected]> | 2022-10-14 19:39:43 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-10-18 10:27:02 -0700 |
commit | e6c86c513f440bec5f1046539c7e3c6c653842da (patch) | |
tree | b74b9661a63b5b201ae8d3f0072d05e2bcbd3798 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
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 <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions