jd1008 at gmail.com
Fri Nov 25 17:43:55 UTC 2016
I "used" to use the madvise(2) syscall.
I am not sure if it still works or even available.
On 11/25/2016 08:25 AM, David Naylor wrote:
> Is there anyway to implement a memory barrier in FreeBSD without using
> mprotect(2) . Unfortunately, the mprotect(2) method uses mlock(2) and
> mlock(2) does not always work, depending on load and permissions.
> I see there was a proposal on a Linux mailing list for a new syscall to
> implement this functionality  but FreeBSD 11.0 does not appear to have it.
>  https://lkml.org/lkml/2015/7/10/766
More information about the freebsd-questions