freebsd-skq/sys
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
..
alpha fix vm_mtx related compiler warning 2001-05-20 16:41:37 +00:00
amd64 Use a critical region to protect almost everything in npxinit(). 2001-05-20 18:05:44 +00:00
arm/include Make _BSD_TIME_T_ (time_t) an int' rather than long'. This will help 2001-05-18 01:43:25 +00:00
boot Allocate more memory if necessary. 2001-05-17 04:34:02 +00:00
cam Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
coda Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
compat Add new 'loadavg' entry, fix overflow with meminfo. 2001-05-19 05:54:26 +00:00
compile
conf Separate out isa attachment to its own file. The pci attachment will 2001-05-16 07:32:04 +00:00
contrib/dev Actually biofinish(struct bio *, struct devstat *, int error) is more general 2001-05-06 20:00:03 +00:00
crypto
ddb Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
dev Add SmartLink 5634PCV SurfRider 2001-05-20 03:12:55 +00:00
fs Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
geom Polish error handling with biofinish(). 2001-05-08 09:10:27 +00:00
gnu Change the second argument of vflush() to an integer that specifies 2001-05-16 18:04:37 +00:00
i4b pseudo-device -> device in kernel config. 2001-05-01 11:26:14 +00:00
i386 Use a critical region to protect almost everything in npxinit(). 2001-05-20 18:05:44 +00:00
ia64 Style changes -- revert ordering to mostly two revs ago. 2001-05-18 01:40:40 +00:00
isa Add SmartLink 5634PCV SurfRider 2001-05-20 03:12:55 +00:00
isofs/cd9660 Change the second argument of vflush() to an integer that specifies 2001-05-16 18:04:37 +00:00
kern Add convenience function kernel_sysctlbyname() for kernel consumers, 2001-05-19 05:45:55 +00:00
libkern
miscfs Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
modules digiio.h has moved to /usr/include/sys 2001-05-19 09:28:59 +00:00
msdosfs Change the second argument of vflush() to an integer that specifies 2001-05-16 18:04:37 +00:00
net Add a couple more codes for upcoming raylink driver additions. 2001-05-17 21:37:41 +00:00
netatalk
netatm
netgraph Fix a range checking bug in ng_int32_parse which affected 64-bit 2001-05-19 19:36:32 +00:00
netinet In in_ifadown(), differentiate between whether the interface goes 2001-05-11 14:37:34 +00:00
netinet6 Plug memoly leak in overlaps fragment cases. 2001-05-20 15:33:46 +00:00
netipx Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netkey Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
netnatm
netncp Use new kernel_sysctlbyname function. Remove private copy. 2001-05-19 05:48:07 +00:00
netns
netsmb Back out scanning file descriptors with holding a process lock. 2001-05-15 10:19:57 +00:00
nfs Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
nfsclient Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
nfsserver Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
ntfs Change the second argument of vflush() to an integer that specifies 2001-05-16 18:04:37 +00:00
nwfs Change the second argument of vflush() to an integer that specifies 2001-05-16 18:04:37 +00:00
pc98 Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
pccard Add back the plain i82365 to the list of bridges that do special 2001-05-19 06:36:09 +00:00
pci Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
posix4 o First step in cleaning up authorization code for the posix4 2001-05-06 16:15:42 +00:00
powerpc Make _BSD_TIME_T_ (time_t) an int' rather than long'. This will help 2001-05-18 01:43:25 +00:00
rpc
svr4
sys Add convenience function kernel_sysctlbyname() for kernel consumers, 2001-05-19 05:45:55 +00:00
tools
ufs Update softdep_setup_directory_add prototype to reflect changes in 2001-05-20 15:59:55 +00:00
vm Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
Makefile