commit | 26b924b93c7bd68add372e24d25b86848c507921 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Wed Oct 23 09:39:15 2019 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Nov 05 14:53:04 2019 -0500 |
tree | 51e0dc028ac41ac94a57bc0f18b87d340ef32de8 | |
parent | 235bc8616060514ce57053e51d0a81f7fab96f01 [diff] |
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>