diff options
author | Sergey Kandaurov <pluknet@FreeBSD.org> | 2013-01-10 22:36:30 +0000 |
---|---|---|
committer | Sergey Kandaurov <pluknet@FreeBSD.org> | 2013-01-10 22:36:30 +0000 |
commit | e86fef2a0bae643b3a70740ff9ae3f42d560699c (patch) | |
tree | 149db0f3973406904c35e81d06d1ee6f7022dc31 /share/man/man9 | |
parent | f404e02afd838aeb835ab0a32071c4ca416bfea8 (diff) |
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
Notes
Notes:
svn path=/head/; revision=245268
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/vm_map_insert.9 | 5 | ||||
-rw-r--r-- | share/man/man9/vm_map_stack.9 | 10 |
2 files changed, 6 insertions, 9 deletions
diff --git a/share/man/man9/vm_map_insert.9 b/share/man/man9/vm_map_insert.9 index 3a6a51fd0784..8f3b52e78c98 100644 --- a/share/man/man9/vm_map_insert.9 +++ b/share/man/man9/vm_map_insert.9 @@ -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 diff --git a/share/man/man9/vm_map_stack.9 b/share/man/man9/vm_map_stack.9 index dabe937cac2b..e237c063d59f 100644 --- a/share/man/man9/vm_map_stack.9 +++ b/share/man/man9/vm_map_stack.9 @@ -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 |