Re: [PATCH] infiniband:qplib_fp:move spin_lock_bh to spin_lock in tasklet

From: Jason Gunthorpe
Date: Tue Mar 19 2019 - 15:22:47 EST


On Wed, Mar 20, 2019 at 12:36:37AM +0800, Jeff Xie wrote:
> It is unnecessary to call spin_lock_bh in a tasklet.
>
> Signed-off-by: Jeff Xie <chongguiguzi@xxxxxxxxx>
> ---
> drivers/infiniband/hw/bnxt_re/qplib_fp.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

I'm curious, how did you prove this was always in a tasklet?

Jason