summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2019-10-23 09:39:15 -0400
committerMike Snitzer <snitzer@redhat.com>2019-11-05 14:53:04 -0500
commit26b924b93c7bd68add372e24d25b86848c507921 (patch)
tree51e0dc028ac41ac94a57bc0f18b87d340ef32de8 /include/sound
parent235bc8616060514ce57053e51d0a81f7fab96f01 (diff)
downloadlinux-26b924b93c7bd68add372e24d25b86848c507921.tar.gz
linux-26b924b93c7bd68add372e24d25b86848c507921.tar.bz2
linux-26b924b93c7bd68add372e24d25b86848c507921.zip
dm cache: 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: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions