diff options
author | Eli Cohen <elic@nvidia.com> | 2022-05-18 16:38:02 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-05-31 12:44:22 -0400 |
commit | a6a51adc6e8aafebfe0c4beb80e99694ea562b40 (patch) | |
tree | 06b4f824e11866d8bd4d316a213e755f963971d1 /kernel | |
parent | 0078ad905dc8eada34461312a0060b0904c57e2d (diff) | |
download | linux-a6a51adc6e8aafebfe0c4beb80e99694ea562b40.tar.bz2 |
net/vdpa: Use readers/writers semaphore instead of cf_mutex
Replace cf_mutex with rw_semaphore to reflect the fact that some calls
could be called concurrently but can suffice with read lock.
Suggested-by: Si-Wei Liu <si-wei.liu@oracle.com>
Signed-off-by: Eli Cohen <elic@nvidia.com>
Message-Id: <20220518133804.1075129-5-elic@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions