We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a05d4da commit 34a7e37Copy full SHA for 34a7e37
src/pages.c
@@ -171,7 +171,7 @@ pages_purge(void *addr, size_t size)
171
VirtualAlloc(addr, size, MEM_RESET, PAGE_READWRITE);
172
unzeroed = true;
173
#elif (defined(JEMALLOC_PURGE_MADVISE_FREE) || \
174
- defined(JEMALLOC_PURGE_MADVISE_FREE))
+ defined(JEMALLOC_PURGE_MADVISE_DONTNEED))
175
# if defined(JEMALLOC_PURGE_MADVISE_FREE)
176
# define JEMALLOC_MADV_PURGE MADV_FREE
177
# define JEMALLOC_MADV_ZEROS false
0 commit comments