aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2022-05-18 16:38:01 +0300
committerMichael S. Tsirkin <[email protected]>2022-05-31 12:44:21 -0400
commit0078ad905dc8eada34461312a0060b0904c57e2d (patch)
tree3fbcd2bcf23cd60cc5007880e7957af0deb8815f /tools/perf/scripts/python
parent13b00b135665c92065a27c0c39dd97e0f380bd4f (diff)
net/vdpa: Use readers/writers semaphore instead of vdpa_dev_mutex
Use rw_semaphore instead of mutex to control access to vdpa devices. This can be especially beneficial in case processes poll on statistics information. Suggested-by: Si-Wei Liu <[email protected]> Reviewed-by: Si-Wei Liu <[email protected]> Acked-by: Jason Wang <[email protected]> Signed-off-by: Eli Cohen <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions