Re: [PATCH vhost v3 11/16] vdpa/mlx5: Move mr mutex out of mr struct

From: Jason Wang
Date: Tue Oct 10 2023 - 02:27:09 EST


On Mon, Oct 9, 2023 at 7:25 PM Dragos Tatulea <dtatulea@xxxxxxxxxx> wrote:
>
> The mutex is named like it is supposed to protect only the mkey but in
> reality it is a global lock for all mr resources.
>
> Shift the mutex to it's rightful location (struct mlx5_vdpa_dev) and
> give it a more appropriate name.
>
> Signed-off-by: Dragos Tatulea <dtatulea@xxxxxxxxxx>
> Acked-by: Eugenio Pérez <eperezma@xxxxxxxxxx>

Acked-by: Jason Wang <jasowang@xxxxxxxxxx>

Thanks