mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-15 13:17:17 +03:00
Add the --disable-thp option to support cross compiling.
This resolves #669.
This commit is contained in:
parent
bf6673a070
commit
c606a87d2a
8 changed files with 53 additions and 14 deletions
|
|
@ -11,7 +11,7 @@ TEST_BEGIN(test_pages_huge) {
|
|||
assert_ptr_not_null(pages, "Unexpected pages_map() error");
|
||||
|
||||
hugepage = (void *)(ALIGNMENT_CEILING((uintptr_t)pages, HUGEPAGE));
|
||||
assert_b_ne(pages_huge(hugepage, HUGEPAGE), have_thp,
|
||||
assert_b_ne(pages_huge(hugepage, HUGEPAGE), config_thp,
|
||||
"Unexpected pages_huge() result");
|
||||
assert_false(pages_nohuge(hugepage, HUGEPAGE),
|
||||
"Unexpected pages_nohuge() result");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue