[Bug 230160] linuxulator doesn't implement madvise(MADV_DONTNEED) and any MADV_ flags with values >= 8 correctly
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 11 15:01:31 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230160
--- Comment #7 from Bill Sorenson <instructionset at gmail.com> ---
(In reply to David Chisnall from comment #6)
I'm aware they have different use cases. My main point is that if we are going
to adopt a Linux-MADV_DONTNEED equivalent we use Illumos' MADV_PURGE rather
than invent a new argument.
I don't object to adding MADV_PURGE or MADV_ZERO for Linux compatibility but to
me it seems like it would usually be better to call munmap() directly than to
use some bizarre madvise() semantics to simulate it although admittedly I don't
know the specifics.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-emulation
mailing list