hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/arch/parisc/include/uapi/asm/mman.h
....@@ -49,28 +49,27 @@
4949 #define MADV_DONTFORK 10 /* don't inherit across fork */
5050 #define MADV_DOFORK 11 /* do inherit across fork */
5151
52
+#define MADV_MERGEABLE 12 /* KSM may merge identical pages */
53
+#define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages */
54
+
55
+#define MADV_HUGEPAGE 14 /* Worth backing with hugepages */
56
+#define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages */
57
+
58
+#define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
59
+ overrides the coredump filter bits */
60
+#define MADV_DODUMP 17 /* Clear the MADV_NODUMP flag */
61
+
62
+#define MADV_WIPEONFORK 18 /* Zero memory on fork, child only */
63
+#define MADV_KEEPONFORK 19 /* Undo MADV_WIPEONFORK */
64
+
5265 #define MADV_COLD 20 /* deactivate these pages */
5366 #define MADV_PAGEOUT 21 /* reclaim these pages */
54
-
55
-#define MADV_MERGEABLE 65 /* KSM may merge identical pages */
56
-#define MADV_UNMERGEABLE 66 /* KSM may not merge identical pages */
57
-
58
-#define MADV_HUGEPAGE 67 /* Worth backing with hugepages */
59
-#define MADV_NOHUGEPAGE 68 /* Not worth backing with hugepages */
60
-
61
-#define MADV_DONTDUMP 69 /* Explicity exclude from the core dump,
62
- overrides the coredump filter bits */
63
-#define MADV_DODUMP 70 /* Clear the MADV_NODUMP flag */
64
-
65
-#define MADV_WIPEONFORK 71 /* Zero memory on fork, child only */
66
-#define MADV_KEEPONFORK 72 /* Undo MADV_WIPEONFORK */
6767
6868 #define MADV_HWPOISON 100 /* poison a page for testing */
6969 #define MADV_SOFT_OFFLINE 101 /* soft offline page for testing */
7070
7171 /* compatibility flags */
7272 #define MAP_FILE 0
73
-#define MAP_VARIABLE 0
7473
7574 #define PKEY_DISABLE_ACCESS 0x1
7675 #define PKEY_DISABLE_WRITE 0x2