Joe Thornber 4051aab762 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>
2015-08-12 11:32:19 -04:00
..
2015-06-10 22:46:34 -07:00
2015-07-31 11:38:57 +03:00
2015-06-26 11:54:29 -07:00
2015-07-17 16:39:53 -07:00
2015-08-01 12:47:04 -07:00
2015-06-13 08:44:14 -07:00
2015-07-17 16:39:53 -07:00
2015-06-26 14:51:15 -07:00
2015-06-23 13:32:38 -07:00
2015-07-23 13:07:04 -07:00
2015-08-02 09:36:21 -07:00
2015-07-02 14:40:49 -07:00
2015-07-24 15:14:04 -06:00
2015-08-04 08:49:08 -07:00