]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - include/asm-xtensa/mman.h
[PATCH] madvise MADV_DONTFORK/MADV_DOFORK
[mirror_ubuntu-focal-kernel.git] / include / asm-xtensa / mman.h
index 9a95a45df99634f08ef0d84fd9a8ed808ab0975b..e2d7afb679c803bad52d4413d45980abc7504e49 100644 (file)
@@ -72,6 +72,9 @@
 #define MADV_SEQUENTIAL        0x2             /* read-ahead aggressively */
 #define MADV_WILLNEED  0x3             /* pre-fault pages */
 #define MADV_DONTNEED  0x4             /* discard these pages */
+#define MADV_REMOVE    0x5             /* remove these pages & resources */
+#define MADV_DONTFORK  0x30            /* dont inherit across fork */
+#define MADV_DOFORK    0x31            /* do inherit across fork */
 
 /* compatibility flags */
 #define MAP_ANON       MAP_ANONYMOUS