cvs commit: src/sys/kern kern_lock.c

Attilio Rao attilio at FreeBSD.org
Thu Dec 27 14:56:57 PST 2007


attilio     2007-12-27 22:56:57 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_lock.c 
  Log:
  In order to avoid a huge class of deadlocks (in particular in interactions
  with the interlock), owner of the lock should be only curthread or at
  least, for its limited usage, NULL which identifies LK_KERNPROC.
  
  The thread "extra argument" for the lockmgr interface is going to be
  removed in the near future, but for the moment, just let kernel run for
  some days with this check on in order to find potential deadlocking
  places around the kernel and fix them.
  
  Revision  Changes    Path
  1.115     +9 -1      src/sys/kern/kern_lock.c


More information about the cvs-src mailing list