mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
Introduce MAP_HUGETLB
This commit is contained in:
parent
9b87dd2b87
commit
f029375d39
6 changed files with 7 additions and 3 deletions
2
third_party/dlmalloc/platform.inc
vendored
2
third_party/dlmalloc/platform.inc
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue