mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-09 15:27:18 +03:00
Fix test/unit/pages.
As part of the metadata_thp support, We now have a separate swtich (JEMALLOC_HAVE_MADVISE_HUGE) for MADV_HUGEPAGE availability. Use that instead of JEMALLOC_THP (which doesn't guard pages_huge anymore) in tests.
This commit is contained in:
parent
8fdd9a5797
commit
3ec279ba1c
3 changed files with 15 additions and 7 deletions
|
|
@ -61,6 +61,13 @@ static const bool have_dss =
|
|||
false
|
||||
#endif
|
||||
;
|
||||
static const bool have_madvise_huge =
|
||||
#ifdef JEMALLOC_HAVE_MADVISE_HUGE
|
||||
true
|
||||
#else
|
||||
false
|
||||
#endif
|
||||
;
|
||||
static const bool config_fill =
|
||||
#ifdef JEMALLOC_FILL
|
||||
true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue