mlock/mlockall (was: Re: problems with mmap() and disk caching)

Dieter BSD dieterbsd at engineer.com
Tue Apr 10 17:08:59 UTC 2012


Andrey writes:
> Wired memory: kernel memory and yes, application may get wired memory
> through mlock()/mlockall(), but I haven't seen any real application
> which calls mlock().

Apps with real time considerations may need to lock memory to prevent
having to wait for page/swap.


More information about the freebsd-hackers mailing list