add MADV_FREE madvise command from linux v4.5
authorSzabolcs Nagy <nsz@port70.net>
Sat, 19 Mar 2016 12:37:37 +0000 (13:37 +0100)
committerRich Felker <dalias@aerifal.cx>
Sat, 19 Mar 2016 15:31:24 +0000 (11:31 -0400)
commitd578c74e677c9c29bfa0b5eec1f21506b9c05558
treea0ab2b66694ce28c78530b9ae9ef0646ce6f48b1
parentb10ca0f560491ed9e353ead6e35f8992e9800c7a
add MADV_FREE madvise command from linux v4.5

allows the os to free the marked pages lazily on memory pressure.
expected to increase malloc performance.
new in linux commit 854e9ed09dedf0c19ac8640e91bcc74bc3f9e5c9
include/sys/mman.h