On Mon, Sep 07, 2026 at 03:58:25PM +0800, Kunwu Chan wrote:
> From: Kunwu Chan <[email protected]>
> 
> srcu_expedite_current() is now forbidden for atomic SRCU, so null out
> ->exp_current in srcu_torture_init_forbidden_apis().
> 
> Signed-off-by: Kunwu Chan <[email protected]>

And you got the testing end as well, very good, thank you!  I have
again folded this into the original with attribution in the name of
bisectability.

                                                        Thanx, Paul

> ---
>  kernel/rcu/rcutorture.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c
> index a9672fe88cbc..d795e07a12ad 100644
> --- a/kernel/rcu/rcutorture.c
> +++ b/kernel/rcu/rcutorture.c
> @@ -721,6 +721,7 @@ static void srcu_torture_init_forbidden_apis(void)
>       cur_ops->call = NULL;
>       cur_ops->cb_barrier = NULL;
>       cur_ops->deferred_free = NULL;
> +     cur_ops->exp_current = NULL;
>       cur_ops->start_gp_poll = NULL;
>  }
>  
> -- 
> 2.43.0
> 

Reply via email to