summaryrefslogtreecommitdiffstats
path: root/lib/asn1_encoder.c
diff options
context:
space:
mode:
authorEli Cohen <elic@nvidia.com>2022-05-18 15:38:02 +0200
committerMichael S. Tsirkin <mst@redhat.com>2022-05-31 18:44:22 +0200
commita6a51adc6e8aafebfe0c4beb80e99694ea562b40 (patch)
tree06b4f824e11866d8bd4d316a213e755f963971d1 /lib/asn1_encoder.c
parentnet/vdpa: Use readers/writers semaphore instead of vdpa_dev_mutex (diff)
downloadlinux-a6a51adc6e8aafebfe0c4beb80e99694ea562b40.tar.xz
linux-a6a51adc6e8aafebfe0c4beb80e99694ea562b40.zip
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 'lib/asn1_encoder.c')
0 files changed, 0 insertions, 0 deletions