diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9 index ee73335d839e..a3034a073b53 100644 --- a/share/man/man9/lock.9 +++ b/share/man/man9/lock.9 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 27, 2007 +.Dd January 09, 2008 .Dt LOCK 9 .Os .Sh NAME @@ -35,6 +35,7 @@ .Nm lockcount , .Nm lockmgr , .Nm lockstatus , +.Nm lockmgr_disown , .Nm lockmgr_printinfo .Nd "lockmgr family of functions" .Sh SYNOPSIS @@ -51,6 +52,8 @@ .Ft int .Fn lockstatus "struct lock *lkp" "struct thread *td" .Ft void +.Fn lockmgr_disown "struct lock *lkp" +.Ft void .Fn lockmgr_printinfo "struct lock *lkp" .Sh DESCRIPTION The @@ -187,6 +190,12 @@ and an exclusive lock is held, will be returned. .Pp The +.Fn lockmgr_disown +function switch the owner from curthread to be +.Dv LK_KERNPROC, +if the lock is alredy held. +.Pp +The .Fn lockmgr_printinfo function prints debugging information about the lock. It is used primarily by