Re: [PATCH 01/32] mlx4: Convert srq_table->tree to XArray

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 20, 2019 at 04:20:36PM -0800, Matthew Wilcox wrote:
> Adjust the locking to not disable interrupts; this isn't needed.
> 
> Signed-off-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>
>  drivers/infiniband/hw/mlx4/cq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/infiniband/hw/mlx4/cq.c b/drivers/infiniband/hw/mlx4/cq.c
> index 43512347b4f0..ba66ef09bc7c 100644
> +++ b/drivers/infiniband/hw/mlx4/cq.c
> @@ -738,7 +738,7 @@ static int mlx4_ib_poll_one(struct mlx4_ib_cq *cq,
>  		u32 srq_num;
>  		g_mlpath_rqpn = be32_to_cpu(cqe->g_mlpath_rqpn);
>  		srq_num       = g_mlpath_rqpn & 0xffffff;
> -		/* SRQ is also in the radix tree */
> +		/* SRQ is also in the xarray */
>  		msrq = mlx4_srq_lookup(to_mdev(cq->ibcq.device)->dev,
>  				       srq_num);
>  	}

I feel like this hunk should be merged with some other patch, and the
commit desc isn't accurate

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux