summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2017-11-23 16:15:43 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-06 12:09:09 +0100
commiteda053db0782296e4c074e9e3096630581bccdae (patch)
tree30a70bb62f3e9940fcdee596f222f1bb32d202df /tools/perf/scripts/python
parentda259d0284b69e084d65200b69462bed9b86a4c7 (diff)
dm snapshot: use mutex instead of rw_semaphore
[ Upstream commit ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe ] The rw_semaphore is acquired for read only in two places, neither is performance-critical. So replace it with a mutex -- which is more efficient. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions