Go to file
thorpej 01a8cffe77 Add a read/write lock to the proclists and PID hash table. Use the
write lock when doing PID allocation, and during the process exit path.
Use a read lock every where else, including within schedcpu() (interrupt
context).  Note that holding the write lock implies blocking schedcpu()
from running (blocks softclock).

PID allocation is now MP-safe.

Note this actually fixes a bug on single processor systems that was probably
extremely difficult to tickle; it was possible that schedcpu() would run
off a bad pointer if the right clock interrupt happened to come in the
middle of a LIST_INSERT_HEAD() or LIST_REMOVE() to/from allproc.
1999-07-22 21:08:30 +00:00
bin Update for SDEAD. 1999-07-22 18:16:05 +00:00
distrib Provide a script to compute the distribution set checksums. 1999-07-22 20:10:16 +00:00
etc Provide a script to compute the distribution set checksums. 1999-07-22 20:10:16 +00:00
games remove sh warning when invoked with no args 1999-07-22 10:08:17 +00:00
gnu Allow -L on both files, not only one. 1999-07-22 01:48:09 +00:00
include optionally include CRYPTOPATH Makefile.frag files. 1999-07-20 09:47:07 +00:00
lib optionally include Makefile.frag 1999-07-20 10:53:05 +00:00
libexec When dlopen()'ing a shared object without an absolute pathname, search 1999-07-22 00:18:19 +00:00
regress add in inclusion of file to get memset prototype declaration. 1999-07-21 21:46:17 +00:00
sbin Address PR bin/7623: if the filesystem is so small (or segment size so large) 1999-07-22 20:14:29 +00:00
share - document LOCALBASE, CROSSBASE and X11BASE 1999-07-22 11:08:30 +00:00
sys Add a read/write lock to the proclists and PID hash table. Use the 1999-07-22 21:08:30 +00:00
usr.bin Update for SDEAD. 1999-07-22 18:16:05 +00:00
usr.sbin Build and install info page. 1999-07-22 01:16:59 +00:00
Makefile Remove all of the domestic/crypto-us glue from this file. It is handled 1999-07-12 21:53:52 +00:00