From owner-svn-src-head@FreeBSD.ORG Fri Apr 3 23:52:47 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0478106564A; Fri, 3 Apr 2009 23:52:47 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CEE4F8FC12; Fri, 3 Apr 2009 23:52:47 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n33NqlhE037301; Fri, 3 Apr 2009 23:52:47 GMT (envelope-from trhodes@svn.freebsd.org) Received: (from trhodes@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n33NqlCd037300; Fri, 3 Apr 2009 23:52:47 GMT (envelope-from trhodes@svn.freebsd.org) Message-Id: <200904032352.n33NqlCd037300@svn.freebsd.org> From: Tom Rhodes Date: Fri, 3 Apr 2009 23:52:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190680 - head/share/man/man9 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: Fri, 03 Apr 2009 23:52:48 -0000 Author: trhodes Date: Fri Apr 3 23:52:47 2009 New Revision: 190680 URL: http://svn.freebsd.org/changeset/base/190680 Log: Catch up with recent locking changes. PR: 132546 Submitted by: pluknet Reviewed by: alc Modified: head/share/man/man9/vm_map_lock.9 Modified: head/share/man/man9/vm_map_lock.9 ============================================================================== --- head/share/man/man9/vm_map_lock.9 Fri Apr 3 21:13:18 2009 (r190679) +++ head/share/man/man9/vm_map_lock.9 Fri Apr 3 23:52:47 2009 (r190680) @@ -73,7 +73,6 @@ The .Fn vm_map_lock_read macro obtains a read-lock on .Fa map . -Currently this is implemented as an exclusive lock. .Pp The .Fn vm_map_unlock_read @@ -93,23 +92,18 @@ macro attempts to obtain a read-lock on .Fa map . It returns FALSE if the lock cannot be immediately acquired; otherwise return TRUE with the lock acquired. -Currently this is implemented as an exclusive lock. .Pp The .Fn vm_map_lock_upgrade macro attempts to atomically upgrade a read-lock on .Fa map to an exclusive lock. -As read-locks are currently implemented as exclusive locks, -this macro is a no-op. .Pp The .Fn vm_map_lock_downgrade macro attempts to downgrade an exclusive lock on .Fa map to a read-lock. -As read-locks are currently implemented as exclusive locks, -this macro is a no-op. .Sh IMPLEMENTATION NOTES Currently, all of the locking macros implement their locks as sleep locks. .Sh SEE ALSO