mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-28 13:52:14 +03:00
Add configure-time detection for madvise(..., MADV_DO[NT]DUMP)
This commit is contained in:
parent
211b1f3c7d
commit
ccd09050aa
2 changed files with 16 additions and 0 deletions
|
|
@ -288,6 +288,11 @@
|
|||
/* Defined if madvise(2) is available but MADV_FREE is not (x86 Linux only). */
|
||||
#undef JEMALLOC_DEFINE_MADVISE_FREE
|
||||
|
||||
/*
|
||||
* Defined if MADV_DO[NT]DUMP is supported as an argument to madvise.
|
||||
*/
|
||||
#undef JEMALLOC_MADVISE_DONTDUMP
|
||||
|
||||
/*
|
||||
* Defined if transparent huge pages (THPs) are supported via the
|
||||
* MADV_[NO]HUGEPAGE arguments to madvise(2), and THP support is enabled.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue