Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2012 16:09:38 +0400
From:      Sergey Kandaurov <pluknet@freebsd.org>
To:        Andrey Zonov <zont@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r239818 - head/sys/vm
Message-ID:  <CAE-mSOKG1N0Apozg13Gs41-KC-f%2Btj5Xsn_gE-MXCRW=oN1vvQ@mail.gmail.com>
In-Reply-To: <201208291123.q7TBNxJb035457@svn.freebsd.org>
References:  <201208291123.q7TBNxJb035457@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29 August 2012 15:23, Andrey Zonov <zont@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.


-- 
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOKG1N0Apozg13Gs41-KC-f%2Btj5Xsn_gE-MXCRW=oN1vvQ>