Add the --disable-thp option to support cross compiling.

This resolves #669.
This commit is contained in:
Jason Evans
2017-05-30 09:54:49 -07:00
parent bf6673a070
commit c606a87d2a
8 changed files with 53 additions and 14 deletions

View File

@@ -269,8 +269,8 @@
#undef JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS
/*
* Defined if transparent huge pages are supported via the MADV_[NO]HUGEPAGE
* arguments to madvise(2).
* Defined if transparent huge pages (THPs) are supported via the
* MADV_[NO]HUGEPAGE arguments to madvise(2), and THP support is enabled.
*/
#undef JEMALLOC_THP