Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2012 16:29:12 +0400
From:      Andrey Zonov <zont@FreeBSD.org>
To:        Sergey Kandaurov <pluknet@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:  <503E0B18.70605@FreeBSD.org>
In-Reply-To: <CAE-mSOKG1N0Apozg13Gs41-KC-f%2Btj5Xsn_gE-MXCRW=oN1vvQ@mail.gmail.com>
References:  <201208291123.q7TBNxJb035457@svn.freebsd.org> <CAE-mSOKG1N0Apozg13Gs41-KC-f%2Btj5Xsn_gE-MXCRW=oN1vvQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 8/29/12 4:09 PM, Sergey Kandaurov wrote:
> 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.
> 
> 

Please, commit it.  Thanks!

-- 
Andrey Zonov


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJQPgscAAoJEBWLemxX/CvTXAMH/1VYb33/kIRplvX9ztEE1yuW
fBA0iUNSxMc3EU496wMGnmZWP/Bw5FtzhItQ8VZD06RqFL6xxJCv+sAGsKrY+M/k
auEb8+U2dqf0XKpNXxnbaDN2NoR62Hu50wR8xiAdU5AD1M4YktAc7RVjpW2We016
ZToK6ewHr570kdQMuJIqLrUXybJSqARD1ey6B1q9kzt9uyB3LdUyV0b0FqtCd0ws
9QGuCHMSKjtPpyXk7BKQ6XEYl0XE6f6LLy2tFb70CPoYjMs6rIx2mg/SIylrvMpd
owJxDEkDQI8C9CIBTegj0zHZxp1gqFnygqepc9ekPv9HUWezSz9zqgQC11fwx8Y=
=z/x9
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?503E0B18.70605>