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

Matthew Dillon dillon at crater.dragonflybsd.org
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 
  Log:
  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


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_lock.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_conn.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/lock.h.diff?r1=1.12&r2=1.13&f=u





More information about the Commits mailing list