diff options
author | 2001-05-10 14:51:20 +0000 | |
---|---|---|
committer | 2001-05-10 14:51:20 +0000 | |
commit | d58942a1ec76e276cb2406d628ec67f91bf3579d (patch) | |
tree | edcd4e78d0a1c463293d677d9dfe34da19e4e5f4 /lib/libc/stdlib/malloc.c | |
parent | Hasn't been used for ages. ZAP! (diff) | |
download | wireguard-openbsd-d58942a1ec76e276cb2406d628ec67f91bf3579d.tar.xz wireguard-openbsd-d58942a1ec76e276cb2406d628ec67f91bf3579d.zip |
More sync to NetBSD.
The highlight is some more advices to madvise(2).
o MADV_DONTNEED will deactive the pages in the given range giving a quicker
reuse.
o MADV_FREE will garbage-collect the pages and swap resources causing the
next fault to either page in new pages from backing store (mapped vnode)
or allocate new zero-fill pages (anonymous mapping).
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions