diff options
author | 2019-10-04 10:17:37 -0400 | |
---|---|---|
committer | 2019-11-05 14:35:42 -0500 | |
commit | 6ca43ed8376a51afec790dd484a51804ade4352a (patch) | |
tree | 24740639a9d64462e0ab8ec29e6ed73231e818ab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm writecache: handle REQ_FUA (diff) | |
download | linux-rng-6ca43ed8376a51afec790dd484a51804ade4352a.tar.xz linux-rng-6ca43ed8376a51afec790dd484a51804ade4352a.zip |
dm clone: replace spin_lock_irqsave with spin_lock_irq
If we are in a place where it is known that interrupts are enabled,
functions spin_lock_irq/spin_unlock_irq should be used instead of
spin_lock_irqsave/spin_unlock_irqrestore.
spin_lock_irq and spin_unlock_irq are faster because they don't need to
push and pop the flags register.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Nikos Tsironis <ntsironis@arrikto.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions