svn commit: r239818 - head/sys/vm
Andrey Zonov
zont at FreeBSD.org
Wed Aug 29 12:29:20 UTC 2012
On 8/29/12 4:09 PM, Sergey Kandaurov wrote:
> On 29 August 2012 15:23, Andrey Zonov <zont at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 535 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20120829/08d6a791/signature.pgp
More information about the svn-src-head
mailing list