vmpressure: change vmpressure::sr_lock to spinlock
[profile/ivi/kernel-x86-ivi.git] / include / linux / vmpressure.h
index 76be077..2081680 100644 (file)
@@ -12,7 +12,7 @@ struct vmpressure {
        unsigned long scanned;
        unsigned long reclaimed;
        /* The lock is used to keep the scanned/reclaimed above in sync. */
-       struct mutex sr_lock;
+       struct spinlock sr_lock;
 
        /* The list of vmpressure_event structs. */
        struct list_head events;