From 653ed924e470d29697c75f3c95cd4f588b4371aa Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Mon, 21 Aug 2006 12:45:19 +0000 Subject: [PATCH] Note that LK_UPGRADE may drop the shared lock before taking the exclusive one. Reviewed and edited by: tegge MFC after: 3 days Approved by: pjd (mentor) --- share/man/man9/lock.9 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9 index cb14461a0d36..fbbced9b3692 100644 --- a/share/man/man9/lock.9 +++ b/share/man/man9/lock.9 @@ -138,6 +138,8 @@ Attempts to upgrade an exclusive lock will cause a .It Dv LK_UPGRADE Upgrade a shared lock to an exclusive lock. If this call fails, the shared lock is lost. +During the upgrade, the shared lock could +be temporarily dropped. Attempts to upgrade an exclusive lock will cause a .Xr panic 9 . .It Dv LK_RELEASE