aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2022-05-18 16:38:04 +0300
committerMichael S. Tsirkin <[email protected]>2022-05-31 12:44:23 -0400
commit759ae7f9bf1e6b7f5c9c197d7207e2be1dfd74b1 (patch)
tree38e6e4201e9630c2ea215eab7e691200dba53cca /tools/perf/scripts/python/bin/stackcollapse-record
parent1892a3d425bf525ac98d6d3534035e6ed2bfab50 (diff)
vdpa/mlx5: Use readers/writers semaphore instead of mutex
Reading statistics could be done intensively and by several processes concurrently. Reader's lock is sufficient in this case. Change reslock from mutex to a rwsem. Suggested-by: Si-Wei Liu <[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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions