summaryrefslogtreecommitdiff
path: root/tools/include/uapi/asm-generic/mman-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/uapi/asm-generic/mman-common.h')
-rw-r--r--tools/include/uapi/asm-generic/mman-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/include/uapi/asm-generic/mman-common.h b/tools/include/uapi/asm-generic/mman-common.h
index 63b1f506ea67..c160a5354eb6 100644
--- a/tools/include/uapi/asm-generic/mman-common.h
+++ b/tools/include/uapi/asm-generic/mman-common.h
@@ -67,6 +67,9 @@
#define MADV_WIPEONFORK 18 /* Zero memory on fork, child only */
#define MADV_KEEPONFORK 19 /* Undo MADV_WIPEONFORK */
+#define MADV_COLD 20 /* deactivate these pages */
+#define MADV_PAGEOUT 21 /* reclaim these pages */
+
/* compatibility flags */
#define MAP_FILE 0