summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-05-10 14:51:20 +0000
committerart <art@openbsd.org>2001-05-10 14:51:20 +0000
commitd58942a1ec76e276cb2406d628ec67f91bf3579d (patch)
treeedcd4e78d0a1c463293d677d9dfe34da19e4e5f4 /lib/libc/stdlib/malloc.c
parentHasn't been used for ages. ZAP! (diff)
downloadwireguard-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