From owner-svn-src-head@FreeBSD.ORG Wed Aug 29 12:09:39 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A719D106567A; Wed, 29 Aug 2012 12:09:39 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 170A98FC1A; Wed, 29 Aug 2012 12:09:39 +0000 (UTC) Received: by ialo14 with SMTP id o14so1230072ial.13 for ; Wed, 29 Aug 2012 05:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Zlvr4KqWnvqAGmMHgWjxx/GeeUZcmCX8B0/DVVVj/28=; b=B94Yrj+5Gtoff1Zv97Qxy2jLyvj5zC9ux35BqVL+gKeqAAIlkYUfMVdjNnsvj7kKfq qZQRjTxSW5gJq0hw41eRPuYDbljQSap/2oHsXYS++qMaYXAxjURXUUVi1Fd8fKpByY0n +2bh41/zQNiTzMWVWqrPP5vyjH+510U/rG71AFJX43y+tMQwpeZed5kqMjFvxG69gT2v QhtGhlUrkCoZrRrK23/ETj5BJuuMzW3bNN4GKZIlSRzPi4Q61D7p/hTZ6Xh9g0qfWRch w2xsUphBiM4SR/FhRBRjR2H6CL4V3jrCHY1eqx5PxkC6ZFITfDOqnaSdpg+hBZQ/8mHA cJaA== MIME-Version: 1.0 Received: by 10.50.163.66 with SMTP id yg2mr16938206igb.3.1346242178464; Wed, 29 Aug 2012 05:09:38 -0700 (PDT) Sender: pluknet@gmail.com Received: by 10.64.165.34 with HTTP; Wed, 29 Aug 2012 05:09:38 -0700 (PDT) In-Reply-To: <201208291123.q7TBNxJb035457@svn.freebsd.org> References: <201208291123.q7TBNxJb035457@svn.freebsd.org> Date: Wed, 29 Aug 2012 16:09:38 +0400 X-Google-Sender-Auth: mtFXD8qmsf_f2vVyZi8mNV2haj0 Message-ID: From: Sergey Kandaurov To: Andrey Zonov Content-Type: text/plain; charset=ISO-8859-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r239818 - head/sys/vm X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2012 12:09:39 -0000 On 29 August 2012 15:23, Andrey Zonov 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