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 6b0bda0 commit c560a9aCopy full SHA for c560a9a
src/snmalloc/pal/pal_linux.h
@@ -46,7 +46,7 @@ namespace snmalloc
46
* Fallback to MADV_DONTNEED on older kernels
47
*/
48
static constexpr int madvise_free_flags =
49
-# ifdef SNMALLOC_HAS_LINUX_RANDOM_H
+# if defined(MADV_FREE)
50
MADV_FREE
51
# else
52
MADV_DONTNEED
0 commit comments