summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ionic/ionic_datapath.c
diff options
context:
space:
mode:
authorZqiang <qiang.zhang@linux.dev>2025-09-11 20:51:55 +0800
committerPaul E. McKenney <paulmck@kernel.org>2025-09-15 05:16:28 -0700
commite6a43aeb71852a39432332dcc3a6d11bb464b075 (patch)
treec01da4d48c094c0dd113051ee3912abdc90fa974 /drivers/infiniband/hw/ionic/ionic_datapath.c
parent1c77e862b81e8fe84d3a908271c72da9711ea801 (diff)
srcu/tiny: Remove preempt_disable/enable() in srcu_gp_start_if_needed()
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() and adds a call to lockdep_assert_preemption_disabled() in order to enable lockdep to diagnose mistaken invocations of this function from preempts-enabled code. Fixes: 65b4a59557f6 ("srcu: Make Tiny SRCU explicitly disable preemption") Signed-off-by: Zqiang <qiang.zhang@linux.dev> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions