[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YbG4TFcIQBA84Ab5@unreal>
Date: Thu, 9 Dec 2021 10:03:24 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Jason Gunthorpe <jgg@...dia.com>
Cc: Aharon Landau <aharonl@...dia.com>, linux-kernel@...r.kernel.org,
linux-rdma@...r.kernel.org
Subject: Re: [PATCH rdma-next 2/7] RDMA/mlx5: Replace cache list with Xarray
On Wed, Dec 08, 2021 at 12:46:11PM -0400, Jason Gunthorpe wrote:
> > @@ -166,14 +169,14 @@ static void create_mkey_callback(int status, struct mlx5_async_work *context)
<...>
> > static int resize_available_mrs(struct mlx5_cache_ent *ent, unsigned int target,
> > bool limit_fill)
> > + __acquires(&ent->lock) __releases(&ent->lock)
>
> Why?
This is mine, I got tons of complains from sparse [1] because of this commit [2].
[1] drivers/infiniband/hw/mlx5/mr.c:280:25: warning: context imbalance in 'resize_available_mkeys' - unexpected unlock
[2] https://lwn.net/Articles/109066/
Thanks
Powered by blists - more mailing lists