[Midnightbsd-cvs] src [8636] trunk/share/man/man9: document the locking changes with vm

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 25 14:15:12 EDT 2016


Revision: 8636
          http://svnweb.midnightbsd.org/src/?rev=8636
Author:   laffer1
Date:     2016-09-25 14:15:12 -0400 (Sun, 25 Sep 2016)
Log Message:
-----------
document the locking changes with vm

Modified Paths:
--------------
    trunk/share/man/man9/vm_map_insert.9
    trunk/share/man/man9/vm_map_stack.9

Modified: trunk/share/man/man9/vm_map_insert.9
===================================================================
--- trunk/share/man/man9/vm_map_insert.9	2016-09-25 18:14:31 UTC (rev 8635)
+++ trunk/share/man/man9/vm_map_insert.9	2016-09-25 18:15:12 UTC (rev 8636)
@@ -25,7 +25,7 @@
 .\"
 .\" $MidnightBSD$
 .\"
-.Dd July 19, 2003
+.Dd January 11, 2013
 .Dt VM_MAP_INSERT 9
 .Os
 .Sh NAME
@@ -73,9 +73,6 @@
 .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: trunk/share/man/man9/vm_map_stack.9
===================================================================
--- trunk/share/man/man9/vm_map_stack.9	2016-09-25 18:14:31 UTC (rev 8635)
+++ trunk/share/man/man9/vm_map_stack.9	2016-09-25 18:15:12 UTC (rev 8636)
@@ -25,7 +25,7 @@
 .\"
 .\" $MidnightBSD$
 .\"
-.Dd July 19, 2003
+.Dd January 11, 2013
 .Dt VM_MAP_STACK 9
 .Os
 .Sh NAME
@@ -81,11 +81,11 @@
 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



More information about the Midnightbsd-cvs mailing list