cvs commit: src/sys/kern subr_turnstile.c

John Baldwin jhb at FreeBSD.org
Wed Mar 29 23:24:56 UTC 2006


jhb         2006-03-29 23:24:55 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_turnstile.c 
  Log:
  Always explicitly panic in propogate_priority() if we try to propogate
  a lock's priority to a sleeping thread.  When we panic, dump a stack
  trace of the thread that is asleep if DDB is compiled into the kernel
  just before calling panic().  This is much more informative and useful
  for debugging than the current behavior of getting a page fault and not
  having an easy way of determining which thread caused the original problem.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.157     +14 -8     src/sys/kern/subr_turnstile.c


More information about the cvs-src mailing list