diff options
author | Dragos Tatulea <dtatulea@nvidia.com> | 2023-10-18 20:14:50 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-11-01 16:19:56 +0300 |
commit | 186e25387ed6f1403a1b464e31f5381ba4424681 (patch) | |
tree | bccb16f4b63e028898f94461c8f6ceb4b586e5bc /mm/mmap.c | |
parent | 1b3ce9576f169ce2122ab98b39bf2357d377ee5b (diff) | |
download | linux-186e25387ed6f1403a1b464e31f5381ba4424681.tar.xz |
vdpa/mlx5: Move mr mutex out of mr struct
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@nvidia.com>
Acked-by: Eugenio PĂ©rez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20231018171456.1624030-13-dtatulea@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com>
Tested-by: Si-Wei Liu <si-wei.liu@oracle.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions