mirror of
git://git.musl-libc.org/musl
synced 2025-01-22 06:33:22 +00:00
sys/mman.h: add new hugetlb mmap flags from linux v4.19
aarch64 supports 32MB and 512MB hugetlb page sizes too. added in linux commit 20916d4636a9b3c1bf562b305f91d126771edaf9
This commit is contained in:
parent
d66ae1aeaf
commit
db8b53f207
@ -46,7 +46,9 @@ extern "C" {
|
||||
#define MAP_HUGE_2MB (21 << 26)
|
||||
#define MAP_HUGE_8MB (23 << 26)
|
||||
#define MAP_HUGE_16MB (24 << 26)
|
||||
#define MAP_HUGE_32MB (25 << 26)
|
||||
#define MAP_HUGE_256MB (28 << 26)
|
||||
#define MAP_HUGE_512MB (29 << 26)
|
||||
#define MAP_HUGE_1GB (30 << 26)
|
||||
#define MAP_HUGE_2GB (31 << 26)
|
||||
#define MAP_HUGE_16GB (34U << 26)
|
||||
|
@ -49,7 +49,9 @@ extern "C" {
|
||||
#define SHM_HUGE_2MB (21 << 26)
|
||||
#define SHM_HUGE_8MB (23 << 26)
|
||||
#define SHM_HUGE_16MB (24 << 26)
|
||||
#define SHM_HUGE_32MB (25 << 26)
|
||||
#define SHM_HUGE_256MB (28 << 26)
|
||||
#define SHM_HUGE_512MB (29 << 26)
|
||||
#define SHM_HUGE_1GB (30 << 26)
|
||||
#define SHM_HUGE_2GB (31 << 26)
|
||||
#define SHM_HUGE_16GB (34U << 26)
|
||||
|
Loading…
Reference in New Issue
Block a user