John Baldwin 1acf256d96 We can't grab the sched_lock in set_user_ldt() because when it is called
from cpu_switch(), curproc has been changed, but the sched_lock owner will
not be updated until we return to mi_switch(), thus we deadlock against
ourselves.  As a workaround, push the acquire and release of sched_lock out
to the callers of set_user_ldt().  Note that we can't use a mtx_assert() in
set_user_ldt for the same reason.

Sleuting by:	tmm
Tested by:	tmm, dougb
2001-05-30 14:35:22 +00:00
..
2001-05-29 23:49:10 +00:00
2001-05-29 20:39:47 +00:00
2001-05-29 21:21:53 +00:00
2001-05-30 00:03:13 +00:00
2001-05-30 03:28:59 +00:00
2001-03-20 10:42:49 +00:00
2001-05-23 20:41:17 +00:00
2001-05-29 20:39:47 +00:00