]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Change the 'witness_list' ddb command to 'show mutexes'. Note that this
authorjhb <jhb@FreeBSD.org>
Fri, 9 Feb 2001 15:19:41 +0000 (15:19 +0000)
committerjhb <jhb@FreeBSD.org>
Fri, 9 Feb 2001 15:19:41 +0000 (15:19 +0000)
commit67e1fedd42a4aa128403f62f31e11810d595614e
treefaad9666023d46e2779b14528aeba5484b67f40f
parent168396f1022b9e37c07ae7a1ee11d4818118c1c8
- Change the 'witness_list' ddb command to 'show mutexes'.  Note that this
  will only display sleep mutexes held by the current process.
- Clean up some nits in the witness_display() function and add a ddb
  command 'show witness' that dumps the hierarchy and order lists to the
  console.
- Use queue(3) macros where appropriate.
- Resort the spin lock order list so that "com" is before "sched_lock".
  Also, add appropriate #ifdef's around SMP and i386-specific mutexes.
- Add two new mutexes used to protect the ithread lists and tables to the
  order list.

Requested by: bde (1)
sys/kern/kern_mutex.c
sys/kern/subr_turnstile.c
sys/kern/subr_witness.c