summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2009-04-03 23:52:47 +0000
committertrhodes <trhodes@FreeBSD.org>2009-04-03 23:52:47 +0000
commit86b18dc38b6aaf20c8399264b992273cf312d727 (patch)
treea193a7f744d52830ac8a69e9ce56a196bef0287b /share
parent8e78b05618b656bb96d7021fe2a806a2de1a99c7 (diff)
downloadFreeBSD-src-86b18dc38b6aaf20c8399264b992273cf312d727.zip
FreeBSD-src-86b18dc38b6aaf20c8399264b992273cf312d727.tar.gz
Catch up with recent locking changes.
PR: 132546 Submitted by: pluknet <pluknet@gmail.com> Reviewed by: alc
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/vm_map_lock.96
1 files changed, 0 insertions, 6 deletions
diff --git a/share/man/man9/vm_map_lock.9 b/share/man/man9/vm_map_lock.9
index 619f8c7..7095709 100644
--- a/share/man/man9/vm_map_lock.9
+++ b/share/man/man9/vm_map_lock.9
@@ -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
OpenPOWER on IntegriCloud