On Friday, January 20, 2006 05:58:29 PM +0100 Rainer Toebbicke <[EMAIL PROTECTED]> wrote:

BTW: lock_kernel() is not only "recursive", it also gets dropped and
reacquired when you give up control (e.g. sleep).  Its semantics are
quite different from the AFS global lock.

Actually, the AFS_GLOCK has that behavior as well, provided you don't go off and sleep in uncontrolled ways while holding it (which you shouldn't ever do). However, it's not recursive - attempting to acquire the GLOCK when you already have it is a bug, and will result in either deadlock or a panic.
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to