@@ -21,9 +21,11 @@
#include <bits/types.h>
-/* Permission flag for shmget. */
+/* Flags for shmget. */
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
+#define SHM_HUGETLB 04000 /* Segment will use huge TLB pages. */
+#define SHM_NORESERVE 010000 /* Don't check for reservations. */
/* Flags for `shmat'. */
#define SHM_RDONLY 010000 /* attach read-only else read-write */
@@ -21,9 +21,11 @@
#include <bits/types.h>
-/* Permission flag for shmget. */
+/* Flags for shmget. */
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
+#define SHM_HUGETLB 04000 /* Segment will use huge TLB pages. */
+#define SHM_NORESERVE 010000 /* Don't check for reservations. */
/* Flags for `shmat'. */
#define SHM_RDONLY 010000 /* attach read-only else read-write */
@@ -21,9 +21,11 @@
#include <bits/types.h>
-/* Permission flag for shmget. */
+/* Flags for shmget. */
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
+#define SHM_HUGETLB 04000 /* Segment will use huge TLB pages. */
+#define SHM_NORESERVE 010000 /* Don't check for reservations. */
/* Flags for `shmat'. */
#define SHM_RDONLY 010000 /* attach read-only else read-write */
@@ -23,9 +23,11 @@
#include <bits/types.h>
#include <bits/wordsize.h>
-/* Permission flag for shmget. */
+/* Flags for shmget. */
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
+#define SHM_HUGETLB 04000 /* Segment will use huge TLB pages. */
+#define SHM_NORESERVE 010000 /* Don't check for reservations. */
/* Flags for `shmat'. */
#define SHM_RDONLY 010000 /* attach read-only else read-write */
@@ -22,9 +22,11 @@
#include <bits/types.h>
#include <bits/wordsize.h>
-/* Permission flag for shmget. */
+/* Flags for shmget. */
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
+#define SHM_HUGETLB 04000 /* Segment will use huge TLB pages. */
+#define SHM_NORESERVE 010000 /* Don't check for reservations. */
/* Flags for `shmat'. */
#define SHM_RDONLY 010000 /* attach read-only else read-write */
@@ -21,9 +21,11 @@
#include <sys/types.h>
-/* Permission flag for shmget. */
+/* Flags for shmget. */
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
+#define SHM_HUGETLB 04000 /* Segment will use huge TLB pages. */
+#define SHM_NORESERVE 010000 /* Don't check for reservations. */
/* Flags for `shmat'. */
#define SHM_RDONLY 010000 /* attach read-only else read-write */
@@ -21,9 +21,11 @@
#include <bits/types.h>
-/* Permission flag for shmget. */
+/* Flags for shmget. */
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
+#define SHM_HUGETLB 04000 /* Segment will use huge TLB pages. */
+#define SHM_NORESERVE 010000 /* Don't check for reservations. */
/* Flags for `shmat'. */
#define SHM_RDONLY 010000 /* attach read-only else read-write */
@@ -21,9 +21,11 @@
#include <bits/types.h>
-/* Permission flag for shmget. */
+/* Flags for shmget. */
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
+#define SHM_HUGETLB 04000 /* Segment will use huge TLB pages. */
+#define SHM_NORESERVE 010000 /* Don't check for reservations. */
/* Flags for `shmat'. */
#define SHM_RDONLY 010000 /* attach read-only else read-write */
@@ -22,9 +22,11 @@
#include <bits/types.h>
#include <bits/wordsize.h>
-/* Permission flag for shmget. */
+/* Flags for shmget. */
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
+#define SHM_HUGETLB 04000 /* Segment will use huge TLB pages. */
+#define SHM_NORESERVE 010000 /* Don't check for reservations. */
/* Flags for `shmat'. */
#define SHM_RDONLY 010000 /* attach read-only else read-write */
@@ -21,9 +21,11 @@
#include <bits/types.h>
-/* Permission flag for shmget. */
+/* Flags for shmget. */
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
+#define SHM_HUGETLB 04000 /* Segment will use huge TLB pages. */
+#define SHM_NORESERVE 010000 /* Don't check for reservations. */
/* Flags for `shmat'. */
#define SHM_RDONLY 010000 /* attach read-only else read-write */
@@ -22,9 +22,11 @@
#include <bits/types.h>
#include <bits/wordsize.h>
-/* Permission flag for shmget. */
+/* Flags for shmget. */
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
+#define SHM_HUGETLB 04000 /* Segment will use huge TLB pages. */
+#define SHM_NORESERVE 010000 /* Don't check for reservations. */
/* Flags for `shmat'. */
#define SHM_RDONLY 010000 /* attach read-only else read-write */
@@ -21,9 +21,11 @@
#include <bits/types.h>
-/* Permission flag for shmget. */
+/* Flags for shmget. */
#define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */
#define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
+#define SHM_HUGETLB 04000 /* Segment will use huge TLB pages. */
+#define SHM_NORESERVE 010000 /* Don't check for reservations. */
/* Flags for `shmat'. */
#define SHM_RDONLY 010000 /* attach read-only else read-write */