]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Fix spinlock exits to properly handle the recursion count and only
authorjhb <jhb@FreeBSD.org>
Wed, 13 Sep 2000 18:26:33 +0000 (18:26 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 13 Sep 2000 18:26:33 +0000 (18:26 +0000)
commit2eb0243bb6af11723c1662bb587531f2e7095362
treea2f8e0e411b51516cf1f920644839a3e01fdd542
parent3b753e411218cc322a044266e00219c73d066f16
- Fix spinlock exits to properly handle the recursion count and only
  re-enable interrupts when actually releasing the lock.
- Bring across some fixes to propagate_priority from the x86 code.
  (It still doesn't work properly, however.)
- Use the SMTX state when putting a process that blocks on a mutex to sleep.
- Use mi_switch instead of cpu_switch so that accounting works properly as
  well as other things.
- Bring across DDB protection of the spinlock timeout panic which is useful
  in a multiple CPU system when 1 CPU enters the debugger holding the
  sched_lock so that the other CPU doesn't panic as well resulting in all
  sorts of fun things.
- Bring across various other small changes in format strings and comments
  to sync up with the x86 code.
sys/alpha/alpha/synch_machdep.c