[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210803155651.GA2886223@nvidia.com>
Date: Tue, 3 Aug 2021 12:56:51 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Leon Romanovsky <leon@...nel.org>
Cc: Doug Ledford <dledford@...hat.com>,
Aharon Landau <aharonl@...dia.com>,
linux-kernel@...r.kernel.org, linux-rdma@...r.kernel.org,
Maor Gottlieb <maorg@...dia.com>
Subject: Re: [PATCH rdma-rc] RDMA/mlx5: Delay emptying a cache entry when a
new MR is added to it recently
On Tue, Jul 27, 2021 at 10:16:06AM +0300, Leon Romanovsky wrote:
> From: Aharon Landau <aharonl@...dia.com>
>
> Fixing a typo that causes a cache entry to shrink immediately after
> adding to it new MRs if the entry size exceeds the high limit.
> In doing so, the cache misses its purpose to prevent the creation of new
> mkeys on the runtime by using the cached ones.
>
> Fixes: b9358bdbc713 ("RDMA/mlx5: Fix locking in MR cache work queue")
> Signed-off-by: Aharon Landau <aharonl@...dia.com>
> Reviewed-by: Maor Gottlieb <maorg@...dia.com>
> Signed-off-by: Leon Romanovsky <leonro@...dia.com>
> ---
> drivers/infiniband/hw/mlx5/mr.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to for-rc, thanks
Jason
Powered by blists - more mailing lists