On Thu, 2019-06-20 at 07:03 +0000, Saeed Mahameed wrote:
> From: Matthew Wilcox <wi...@infradead.org>
> 
> The lock protecting the data structure does not need to be an
> rwlock.  The
> only read access to the lock is in an error path, and if that's
> limiting
> your scalability, you have bigger performance problems.
> 
> Eliminate mlx5_mkey_table in favour of using the xarray directly.
> reg_mr_callback must use GFP_ATOMIC for allocating XArray nodes as it
> may
> be called in interrupt context.
> 
> This also fixes a minor bug where SRCU locking was being used on the
> radix
> tree read side, when RCU was needed too.
> 
> Change-Id: Ifeedbbc8f2c856cc044094d03167aae9f9162400
> Signed-off-by: Matthew Wilcox <wi...@infradead.org>
> Signed-off-by: Jason Gunthorpe <j...@mellanox.com>
> Signed-off-by: Saeed Mahameed <sae...@mellanox.com>
>  

Applied to mlx5-next.

Thanks,
Saeed.

Reply via email to