Introduce MAP_HUGETLB

This commit is contained in:
Justine Tunney 2024-05-22 12:10:03 -07:00
parent 9b87dd2b87
commit f029375d39
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
6 changed files with 7 additions and 3 deletions

View file

@ -111,7 +111,7 @@
#if (MORECORE_CONTIGUOUS || defined(WIN32))
#define DEFAULT_GRANULARITY (0) /* 0 means to compute in init_mparams */
#else /* MORECORE_CONTIGUOUS */
#define DEFAULT_GRANULARITY ((size_t)64U * (size_t)1024U)
#define DEFAULT_GRANULARITY ((size_t)256U * (size_t)1024U)
#endif /* MORECORE_CONTIGUOUS */
#endif /* DEFAULT_GRANULARITY */
#ifndef DEFAULT_TRIM_THRESHOLD