John Baldwin 20cdcc5b73 Don't release and acquire Giant in mi_switch(). Instead, release and
acquire Giant as needed in functions that call mi_switch().  The releases
need to be done outside of the sched_lock to avoid potential deadlocks
from trying to acquire Giant while interrupts are disabled.

Submitted by:	witness
2000-11-16 02:16:44 +00:00
..
2000-11-15 17:02:54 +00:00
2000-11-15 10:36:08 +00:00
2000-11-08 21:53:05 +00:00
2000-11-14 11:20:58 +00:00
2000-11-05 14:31:19 +00:00
2000-05-01 20:32:07 +00:00