mm: mlock: add mlock flags to enable VM_LOCKONFAULT usage
[deliverable/linux.git] / include / uapi / asm-generic / mman-common.h
index ddc3b36f1046bd6605ecdd769e4f70e59404e16b..a74dd84bbb6d04777fe76e043dbd6246b5914d1a 100644 (file)
 # define MAP_UNINITIALIZED 0x0         /* Don't support this flag */
 #endif
 
+/*
+ * Flags for mlock
+ */
+#define MLOCK_ONFAULT  0x01            /* Lock pages in range after they are faulted in, do not prefault */
+
 #define MS_ASYNC       1               /* sync memory asynchronously */
 #define MS_INVALIDATE  2               /* invalidate the caches */
 #define MS_SYNC                4               /* synchronous memory sync */
This page took 0.024578 seconds and 5 git commands to generate.