cvs commit: src/sys/kern kern_lock.c src/sys/netproto/smb smb_conn.c src/sys/sys lock.h

Matthew Dillon dillon at
Sat Apr 22 19:44:20 PDT 2006

dillon      2006/04/22 19:41:15 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_lock.c 
    sys/netproto/smb     smb_conn.c 
    sys/sys              lock.h 
  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.
  Revision  Changes    Path
  1.17      +1 -73     src/sys/kern/kern_lock.c
  1.13      +0 -1      src/sys/netproto/smb/smb_conn.c
  1.13      +3 -6      src/sys/sys/lock.h

More information about the Commits mailing list