On 8/29/12 4:09 PM, Sergey Kandaurov wrote: > On 29 August 2012 15:23, Andrey Zonov <z...@freebsd.org> wrote: >> Author: zont >> Date: Wed Aug 29 11:23:59 2012 >> New Revision: 239818 >> URL: http://svn.freebsd.org/changeset/base/239818 >> >> Log: >> - Don't take an account of locked memory for current process in vslock(9). >> >> There are two consumers of vslock(9): sysctl code and drm driver. These >> consumers are using locked memory as transient memory, it doesn't belong >> to a process's memory. > > Hi. > So, since we do not account such memory in vslock() anymore, > I think this one shall be applied as well. > > Index: share/man/man9/vslock.9 > =================================================================== > --- share/man/man9/vslock.9 (revision 239171) > +++ share/man/man9/vslock.9 (working copy) > @@ -82,9 +82,6 @@ > .It Bq Er ENOMEM > The size of the specified address range exceeds the system > limit on locked memory. > -.It Bq Er ENOMEM > -Locking the requested address range would cause the process to exceed > -its per-process locked memory limit. > .It Bq Er EFAULT > Some portion of the indicated address range is not allocated. > There was an error faulting/mapping a page. > >
Please, commit it. Thanks! -- Andrey Zonov
signature.asc
Description: OpenPGP digital signature