diff options
author | attilio <attilio@FreeBSD.org> | 2009-02-05 15:09:04 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2009-02-05 15:09:04 +0000 |
commit | 3a498bb80367565e80a9c8181d8e8ca4ce0b5db0 (patch) | |
tree | 485b8ce215e1178403512b92e9f3664529b9e6fa /share/man/man9 | |
parent | aac9010144aaa9beca1c58d4859ec453774363b0 (diff) | |
download | FreeBSD-src-3a498bb80367565e80a9c8181d8e8ca4ce0b5db0.zip FreeBSD-src-3a498bb80367565e80a9c8181d8e8ca4ce0b5db0.tar.gz |
Remove the assertive KA_HELD and KA_UNHELD as long as they are dangerous,
and not really helpful.
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/lock.9 | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9 index 99af66f..d2edc0e 100644 --- a/share/man/man9/lock.9 +++ b/share/man/man9/lock.9 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 12, 2008 +.Dd February 05, 2009 .Dt LOCK 9 .Os .Sh NAME @@ -279,14 +279,6 @@ lock pointed to by the first argument. Assert that the current thread has no lock on the .Vt lkp lock pointed to by the first argument. -.It Dv KA_HELD -Assert that an unspecified thread has a lock on the -.Vt lkp -lock pointed to by the first argument. -.It Dv KA_UNHELD -Assert that no thread has a lock on the -.Vt lkp -lock pointed to by the first argument. .El .Pp In addition, one of the following optional assertions can be used with @@ -305,15 +297,6 @@ Assert that the current thread does not have a recursed lock on .Fa lkp . .El .Pp -Note that -.Dv KA_HELD -and -.Dv KA_UNHELD -usage is highly discouraged. -They are intended to cater a bad behaviour -introduced by buffer cache lock handling. -They will hopefully be -made useless by revisiting such locks. .Sh RETURN VALUES The .Fn lockmgr |