diff options
author | Mike Snitzer <snitzer@kernel.org> | 2024-02-06 05:04:19 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2024-02-20 21:43:18 +0300 |
commit | 872564c501b72ae0c84af51084753e8652e4a84b (patch) | |
tree | cbd175a50bc33d9602e2e250f59e397930d0b7a4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a6c05c981ecc841a3e95af666c2a1a6a265e7adc (diff) | |
download | linux-872564c501b72ae0c84af51084753e8652e4a84b.tar.xz |
dm vdo data-vio: silence sparse warnings about locking context imbalances
Factor wait_permit() out from acquire_permit() so that the latter
always holds the spinlock and the former always releases it.
Otherwise sparse complains about locking context imbalances due to
conditional spin_unlock in acquire_permit:
warning: context imbalance in 'acquire_permit' - different lock contexts for basic block
warning: context imbalance in 'vdo_launch_bio' - unexpected unlock
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Susan LeGendre-McGhee <slegendr@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions