freebsd-dev/sys/amd64
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
..
acpica FreeBSD-specific OSD (operating system dependant) modules for the Intel 2000-10-28 06:56:15 +00:00
amd64 We can't grab the sched_lock in set_user_ldt() because when it is called 2001-05-30 14:35:22 +00:00
conf move wx to be part of miibus requiring chipsets 2001-05-30 03:20:52 +00:00
include Convert npx interrupts into traps instead of vice versa. This is much 2001-05-22 21:20:49 +00:00
isa lock vm while playing with pmap 2001-05-23 22:13:58 +00:00
pci Un-swap irq/link byte values so that printf works. 2001-05-11 04:52:29 +00:00
Makefile Update tags directive to reflect the new location of soft updates 2000-07-04 00:18:43 +00:00