]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- When spinning on a spin lock, if the debugger is active or we are in a
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 15 Aug 2006 18:26:12 +0000 (18:26 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 15 Aug 2006 18:26:12 +0000 (18:26 +0000)
commit0fa2168b195c0d5dd0c13fff96113cf6c71946a5
tree2aed8afaa214668ab6515dab7466a380f872d1eb
parent225ee44c8a689e526c5322186671222ca63f961b
- When spinning on a spin lock, if the debugger is active or we are in a
  panic, go ahead and do the longer DELAY(1) spin wait.
- If we panic due to spinning too long, print out a few more details
  including the pointer to the mutex in question and the tid of the owning
  thread.
sys/kern/kern_mutex.c