Go to file
jdolecek 089abdad44 Rearrange process exit path to avoid need to free resources from different
process context ('reaper').

From within the exiting process context:
* deactivate pmap and free vmspace while we can still block
* introduce MD cpu_lwp_free() - this cleans all MD-specific context (such
  as FPU state), and is the last potentially blocking operation;
  all of cpu_wait(), and most of cpu_exit(), is now folded into cpu_lwp_free()
* process is now immediatelly marked as zombie and made available for pickup
  by parent; the remaining last lwp continues the exit as fully detached
* MI (rather than MD) code bumps uvmexp.swtch, cpu_exit() is now same
  for both 'process' and 'lwp' exit

uvm_lwp_exit() is modified to never block; the u-area memory is now
always just linked to the list of available u-areas. Introduce (blocking)
uvm_uarea_drain(), which is called to release the excessive u-area memory;
this is called by parent within wait4(), or by pagedaemon on memory shortage.
uvm_uarea_free() is now private function within uvm_glue.c.

MD process/lwp exit code now always calls lwp_exit2() immediatelly after
switching away from the exiting lwp.

g/c now unneeded routines and variables, including the reaper kernel thread
2004-01-04 11:33:29 +00:00
bin Remove unused code left over from temporary printescaped functionality. 2004-01-04 03:34:00 +00:00
contrib/sys Synchronize with FreeBSD: 2003-12-16 06:48:08 +00:00
crypto Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no) 2003-12-11 09:46:26 +00:00
dist Don't bother complaining about "no IPv6 interfaces" or "no IPv4 interfaces" 2003-12-20 17:38:19 +00:00
distrib Support MKCRYPTO=no 2004-01-04 00:54:18 +00:00
doc I'm responsible for sysctl now 2004-01-03 05:55:42 +00:00
etc use !="no" instead of =="yes" 2004-01-03 13:58:26 +00:00
games Move AUTHORS section directly before BUGS section. 2004-01-03 13:32:23 +00:00
gnu Consistently check ${TOOLCHAIN_MISSING} against "no". 2004-01-03 14:04:27 +00:00
include - libc.so.12.109 and libpthread.so.0.4 2004-01-02 18:56:39 +00:00
lib Fix a cast for little endian archs 2004-01-03 23:50:47 +00:00
libexec fix debug output. 2003-12-17 09:13:41 +00:00
regress support MKCRYPTO=no (des.h is not present) 2004-01-04 00:25:52 +00:00
rescue systrace needs libevent now. 2003-11-29 05:47:51 +00:00
sbin Standardize flags display in usage. 2004-01-04 00:13:00 +00:00
share Add two acronyms suggested by Pavel Machek <pavel@ucw.cz>. 2004-01-04 02:16:39 +00:00
sys Rearrange process exit path to avoid need to free resources from different 2004-01-04 11:33:29 +00:00
tools Consistently check ${TOOLCHAIN_MISSING} against "no". 2004-01-03 14:04:27 +00:00
usr.bin Bump Dd for previous. 2004-01-04 02:24:32 +00:00
usr.sbin use system() to spawn editor, so that it's possible to use EDITOR 2004-01-04 09:09:56 +00:00
x11 Added Xserver/Xserver/Xhpc and Xserver/hw/netbsd/hpc directories for 2004-01-03 02:05:49 +00:00
BUILDING Note tools/compat/README as the place to get notes from non-native cross builds 2003-12-29 07:10:24 +00:00
Makefile only build do-lib-libdes if ${MKCRYPTO}!=no 2004-01-04 00:27:15 +00:00
Makefile.inc
UPDATING Fix typo. 2003-12-31 16:20:54 +00:00
build.sh tweak usage message. 2003-11-14 12:38:12 +00:00