From owner-svn-src-all@FreeBSD.ORG Thu Jan 10 22:36:31 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8C502E4B; Thu, 10 Jan 2013 22:36:31 +0000 (UTC) (envelope-from pluknet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 7494EE17; Thu, 10 Jan 2013 22:36:31 +0000 (UTC) Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0AMaVE2057113; Thu, 10 Jan 2013 22:36:31 GMT (envelope-from pluknet@svn.freebsd.org) Received: (from pluknet@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0AMaV2v057111; Thu, 10 Jan 2013 22:36:31 GMT (envelope-from pluknet@svn.freebsd.org) Message-Id: <201301102236.r0AMaV2v057111@svn.freebsd.org> From: Sergey Kandaurov Date: Thu, 10 Jan 2013 22:36:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r245268 - head/share/man/man9 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2013 22:36:31 -0000 Author: pluknet Date: Thu Jan 10 22:36:30 2013 New Revision: 245268 URL: http://svnweb.freebsd.org/changeset/base/245268 Log: The Giant lock is no longer used in the vm_map(9) part of the VM. While here, document that the process lock is acquired in vm_map_stack, too. MFC after: 1 week Modified: head/share/man/man9/vm_map_insert.9 head/share/man/man9/vm_map_stack.9 Modified: head/share/man/man9/vm_map_insert.9 ============================================================================== --- head/share/man/man9/vm_map_insert.9 Thu Jan 10 22:15:13 2013 (r245267) +++ head/share/man/man9/vm_map_insert.9 Thu Jan 10 22:36:30 2013 (r245268) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 19, 2003 +.Dd January 11, 2013 .Dt VM_MAP_INSERT 9 .Os .Sh NAME @@ -73,9 +73,6 @@ This function implicitly creates a new .Vt vm_map_entry by calling the internal function .Fn vm_map_entry_create . -This function may use the -.Va Giant -lock to ensure that only a single thread is present in the function. .Sh RETURN VALUES The .Fn vm_map_insert Modified: head/share/man/man9/vm_map_stack.9 ============================================================================== --- head/share/man/man9/vm_map_stack.9 Thu Jan 10 22:15:13 2013 (r245267) +++ head/share/man/man9/vm_map_stack.9 Thu Jan 10 22:36:30 2013 (r245268) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 19, 2003 +.Dd January 11, 2013 .Dt VM_MAP_STACK 9 .Os .Sh NAME @@ -81,11 +81,11 @@ function calls to create its mappings. .Pp The +.Fn vm_map_stack +and .Fn vm_map_growstack -function acquires the -.Va Giant -lock, and the process lock on -.Fa p , +functions acquire the process lock on +.Fa p for the duration of the call. .Sh RETURN VALUES The