NetBSD/sys/arch/atari/include
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
..
Makefile Merge the nathanw_sa branch. 2003-01-17 21:55:23 +00:00
acia.h
ahdilabel.h
ansi.h
aout_machdep.h
asm.h
bswap.h
bus.h Spell address with two d's. Inspired by similar changes in OpenBSD, 2003-11-10 08:51:51 +00:00
cdefs.h
cpu.h Rearrange process exit path to avoid need to free resources from different 2004-01-04 11:33:29 +00:00
cpufunc.h
db_machdep.h
disklabel.h
dma.h
elf_machdep.h
endian.h
endian_machdep.h
float.h
frame.h
ieee.h
ieeefp.h
int_const.h
int_fmtio.h
int_limits.h
int_mwgwtypes.h
int_types.h
intr.h
iomap.h Use PAGE_SIZE rather than NBPG. 2003-04-02 07:35:54 +00:00
isa_machdep.h A few ISA sound drivers like to share dma channels, and hence deferred 2003-05-09 23:51:25 +00:00
isapnp_machdep.h
kcore.h
limits.h
lock.h
math.h
mcontext.h Merge the nathanw_sa branch. 2003-01-17 21:55:23 +00:00
mfp.h DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
msioctl.h
mtpr.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
param.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
pcb.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
pci_machdep.h
pmap.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
pmc.h Implement pmc(9) -- An interface to hardware performance monitoring 2002-08-07 05:14:47 +00:00
proc.h m68k syscall rototill: 2002-07-13 08:28:40 +00:00
profile.h
psl.h
pte.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
ptrace.h
reg.h
scu.h
setjmp.h
signal.h
stdarg.h
svr4_machdep.h
trap.h
types.h
varargs.h
video.h
vmparam.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00