Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2012 21:13:55 -0400
From:      Ryan Stone <rysto32@gmail.com>
To:        Dieter BSD <dieterbsd@engineer.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: mlock(2) man page errata
Message-ID:  <CAFMmRNzwYQzte1NPZqg2LyuODy1P8hx7WhZJYF7ZweuxiZ=MDQ@mail.gmail.com>
In-Reply-To: <20120329191735.155070@gmx.com>
References:  <20120329191735.155070@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 29, 2012 at 3:17 PM, Dieter BSD <dieterbsd@engineer.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNzwYQzte1NPZqg2LyuODy1P8hx7WhZJYF7ZweuxiZ=MDQ>