mlock(2) man page errata

Ryan Stone rysto32 at
Fri Mar 30 01:13:56 UTC 2012

On Thu, Mar 29, 2012 at 3:17 PM, Dieter BSD <dieterbsd at> wrote:
> mlock(2) says:
>> A single process can mlock() the minimum of a system-wide
>> ``wired pages'' limit and the per-process RLIMIT_MEMLOCK
>> resource limit.
> Shouldn't this say maximum rather than minimum?

I don't think so.  The minimum of the two would be the limit that you
will hit first, and presumably is the point at which you cannot mlock
any more pages.

More information about the freebsd-hackers mailing list