mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Support AutoConf for posix_madvise and POSIX_MADV_DONTNEED
This commit is contained in:
parent
96a59c3bb5
commit
26c1dc5a3a
2 changed files with 31 additions and 0 deletions
|
|
@ -318,6 +318,17 @@
|
|||
*/
|
||||
#undef JEMALLOC_THP
|
||||
|
||||
/* Defined if posix_madvise is available. */
|
||||
#undef JEMALLOC_HAVE_POSIX_MADVISE
|
||||
|
||||
/*
|
||||
* Method for purging unused pages using posix_madvise.
|
||||
*
|
||||
* posix_madvise(..., POSIX_MADV_DONTNEED)
|
||||
*/
|
||||
#undef JEMALLOC_PURGE_POSIX_MADVISE_DONTNEED
|
||||
#undef JEMALLOC_PURGE_POSIX_MADVISE_DONTNEED_ZEROS
|
||||
|
||||
/*
|
||||
* Defined if memcntl page admin call is supported
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue