diff options
author | Joe Thornber <ejt@redhat.com> | 2015-06-26 13:25:12 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-08-12 11:32:19 -0400 |
commit | 4051aab762f161826f15ea63c8baaf33cb5e6fe3 (patch) | |
tree | c4435cbfd451b46cb7cac41a5be8e763192d7c3b /drivers/mfd/rt5033.c | |
parent | 34dd051741572859bc1fef525c5ddbc127158b52 (diff) | |
download | linux-stable-4051aab762f161826f15ea63c8baaf33cb5e6fe3.tar.gz linux-stable-4051aab762f161826f15ea63c8baaf33cb5e6fe3.tar.bz2 linux-stable-4051aab762f161826f15ea63c8baaf33cb5e6fe3.zip |
dm cache policy smq: change the mutex to a spinlock
We no longer sleep in any of the smq functions, so this can become a
spinlock. Switching from mutex to spinlock improves performance when
the fast cache device is a very low latency device (e.g. NVMe SSD).
The switch to spinlock also allows for removal of the extra tick_lock;
which is no longer needed since the main lock being a spinlock now
fulfills the locking requirements needed by interrupt context.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/mfd/rt5033.c')
0 files changed, 0 insertions, 0 deletions