Re: [PATCH] srcu/tiny: Remove preempt_disable/enable() in srcu_gp_start_if_needed()

2025-09-20 Thread Paul E. McKenney
On Mon, Sep 08, 2025 at 01:19:44PM +, Zqiang wrote: > > > > On Mon, Sep 08, 2025 at 08:31:55AM +0800, Zqiang wrote: > > > > > > > > Currently, the srcu_gp_start_if_needed() is always be invoked in > > > preempt disable's critical section, this commit therefore remove > > > redundant preemp

Re: [PATCH] srcu/tiny: Remove preempt_disable/enable() in srcu_gp_start_if_needed()

2025-09-08 Thread Zqiang
> > On Mon, Sep 08, 2025 at 08:31:55AM +0800, Zqiang wrote: > > > > > Currently, the srcu_gp_start_if_needed() is always be invoked in > > preempt disable's critical section, this commit therefore remove > > redundant preempt_disable/enable() in srcu_gp_start_if_needed(). > > > > Fixes: 65b

Re: [PATCH] srcu/tiny: Remove preempt_disable/enable() in srcu_gp_start_if_needed()

2025-09-07 Thread Paul E. McKenney
On Mon, Sep 08, 2025 at 08:31:55AM +0800, Zqiang wrote: > Currently, the srcu_gp_start_if_needed() is always be invoked in > preempt disable's critical section, this commit therefore remove > redundant preempt_disable/enable() in srcu_gp_start_if_needed(). > > Fixes: 65b4a59557f6 ("srcu: Make Tiny

[PATCH] srcu/tiny: Remove preempt_disable/enable() in srcu_gp_start_if_needed()

2025-09-07 Thread Zqiang
Currently, the srcu_gp_start_if_needed() is always be invoked in preempt disable's critical section, this commit therefore remove redundant preempt_disable/enable() in srcu_gp_start_if_needed(). Fixes: 65b4a59557f6 ("srcu: Make Tiny SRCU explicitly disable preemption") Signed-off-by: Zqiang ---