OSDN Git Service

Add define for SHM_HUGETLB
authorEric Andersen <andersen@codepoet.org>
Thu, 13 May 2004 05:53:37 +0000 (05:53 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 13 May 2004 05:53:37 +0000 (05:53 -0000)
libc/sysdeps/linux/common/bits/shm.h

index 6edc676..b5f4ddf 100644 (file)
@@ -71,6 +71,7 @@ struct shmid_ds {
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
 # define SHM_LOCKED    02000   /* segment will not be swapped */
+# define SHM_HUGETLB   04000   /* segment is mapped via hugetlb */
 
 struct  shminfo {
     int shmmax;