rcu: Add warning to ensure rcu_seq_done_exact() is working
authorJoel Fernandes <joelagnelf@nvidia.com>
Mon, 24 Mar 2025 13:29:26 +0000 (09:29 -0400)
committerJoel Fernandes <joelagnelf@nvidia.com>
Tue, 8 Apr 2025 18:55:54 +0000 (14:55 -0400)
commit4aa6e94cf90c0d7414580bd6a936600aef8b1e43
tree0597f14d949bee3f2f99d73df385dd4b73aea2d4
parent9c94c5ad39182ccf8ae81a2fa4fa4e63abedcbf7
rcu: Add warning to ensure rcu_seq_done_exact() is working

The previous patch improved the rcu_seq_done_exact() function by adding
a meaningful constant for the guardband.

Ensure that this is working for the future by a quick check during
rcu_gp_init().

Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
kernel/rcu/tree.c