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
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to