patch-2.3.99-pre9 linux/include/asm-mips/mman.h
Next file: linux/include/asm-mips/mmu_context.h
Previous file: linux/include/asm-mips/mipsregs.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sat May 13 08:31:25 2000
- Orig file:
v2.3.99-pre8/linux/include/asm-mips/mman.h
- Orig date:
Sat Feb 26 22:31:56 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/include/asm-mips/mman.h linux/include/asm-mips/mman.h
@@ -56,6 +56,12 @@
#define MCL_CURRENT 1 /* lock all current mappings */
#define MCL_FUTURE 2 /* lock all future mappings */
+#define MADV_NORMAL 0x0 /* default page-in behavior */
+#define MADV_RANDOM 0x1 /* page-in minimum required */
+#define MADV_SEQUENTIAL 0x2 /* read-ahead aggressively */
+#define MADV_WILLNEED 0x3 /* pre-fault pages */
+#define MADV_DONTNEED 0x4 /* discard these pages */
+
/* compatibility flags */
#define MAP_ANON MAP_ANONYMOUS
#define MAP_FILE 0
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)