Do not hardcode MAP_HUGETLB to 0x40000, since quite some architectures use a different value. Tested with a parisc architecture 64bit kernel. Signed-off-by: Helge Deller <deller@gmx.de> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| compaction_test.c | ||
| config | ||
| hugepage-mmap.c | ||
| hugepage-shm.c | ||
| Makefile | ||
| map_hugetlb.c | ||
| mlock2-tests.c | ||
| on-fault-limit.c | ||
| run_vmtests | ||
| thuge-gen.c | ||
| transhuge-stress.c | ||
| userfaultfd.c | ||