summaryrefslogtreecommitdiff
path: root/include/linux/vmpressure.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/vmpressure.h')
-rw-r--r--include/linux/vmpressure.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/vmpressure.h b/include/linux/vmpressure.h
index 76be077340e..2081680e015 100644
--- a/include/linux/vmpressure.h
+++ b/include/linux/vmpressure.h
@@ -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;