Remove all remaining support for LK_DRAIN lockmgr locks. LK_DRAIN was a
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 23 Apr 2006 02:41:15 +0000 (02:41 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 23 Apr 2006 02:41:15 +0000 (02:41 +0000)
commitca2e1d01d839f4ff719f09ff25b13384a143b232
tree1f6711499094fb3d5ad04ef7cebd31a88b4d5eb6
parentf211496f4baffcedaf7a27d259faa6e3775243fe
Remove all remaining support for LK_DRAIN lockmgr locks.  LK_DRAIN was a
mechanism that allowed lock requests to fail while a thread is blocked
disposing of a structure that has not been entirely unlinked from the
rest of the system, but LK_DRAIN's design only works on UP systems or
while the BGL is held.  It cannot be used in concurrent environments.
Just get rid of it entirely.
sys/kern/kern_lock.c
sys/netproto/smb/smb_conn.c
sys/sys/lock.h