From 73b78a8adb14b36dde370e1ebd8878eef893b40f Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 21 Mar 2021 19:29:46 -0400 Subject: [PATCH] document madvise for malloc_trim of quarantines --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 596c926..3c5dcef 100644 --- a/README.md +++ b/README.md @@ -1008,6 +1008,7 @@ System calls used by all build configurations: * `mremap(old, old_size, new_size, MREMAP_MAYMOVE|MREMAP_FIXED, new)` * `munmap` * `write(STDERR_FILENO, buf, len)` (before aborting due to memory corruption) +* `madvise(ptr, size, MADV_DONTNEED)` for `malloc_trim` with slab quarantines The main distinction from a typical malloc implementation is the use of getrandom. A common compatibility issue is that existing system call whitelists