1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/i386
Bruce Evans 7010278935 Use a critical region to protect almost everything in npxinit().
npxinit() didn't have the usual race because it doesn't save to curpcb,
but it may have had a worse form of it since it uses the npx when it
doesn't "own" it.  I'm not sure if locking prevented this.  npxinit()
is normally caled with the proc lock but not sched_lock.

Use a critical region to protect pushing of curproc's npx state to
curpcb in npxexit().  Not doing so was harmless since it at worst
saved a wrong state to a dieing pcb.
2001-05-20 18:05:44 +00:00
..
acpica
apm
bios
conf
i386 Use a critical region to protect pushing of curproc's npx state to 2001-05-20 17:01:20 +00:00
ibcs2
include Make _BSD_TIME_T_ (time_t) an int' rather than long'. This will help 2001-05-18 01:43:25 +00:00
isa Use a critical region to protect almost everything in npxinit(). 2001-05-20 18:05:44 +00:00
linux Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
pci
svr4
Makefile