mm: mlock: add mlock flags to enable VM_LOCKONFAULT usage
[deliverable/linux.git] / arch / alpha / include / uapi / asm / mman.h
index 0086b472bc2b4c8e2a588a2a8ab763c3243362f7..f2f9496717981766aa0ac53ef5054a9250dd1218 100644 (file)
@@ -37,6 +37,9 @@
 
 #define MCL_CURRENT     8192           /* lock all currently mapped pages */
 #define MCL_FUTURE     16384           /* lock all additions to address space */
+#define MCL_ONFAULT    32768           /* lock all pages that are faulted in */
+
+#define MLOCK_ONFAULT  0x01            /* Lock pages in range after they are faulted in, do not prefault */
 
 #define MADV_NORMAL    0               /* no further special treatment */
 #define MADV_RANDOM    1               /* expect random page references */
This page took 0.026867 seconds and 5 git commands to generate.