diff options
Diffstat (limited to 'kernel/arch/alpha/include/uapi/asm/mman.h')
-rw-r--r-- | kernel/arch/alpha/include/uapi/asm/mman.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/arch/alpha/include/uapi/asm/mman.h b/kernel/arch/alpha/include/uapi/asm/mman.h index 0086b472b..f2f949671 100644 --- a/kernel/arch/alpha/include/uapi/asm/mman.h +++ b/kernel/arch/alpha/include/uapi/asm/mman.h @@ -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 */ |