NetBSD/sys/arch/amigappc/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
..
ansi.h
aout_machdep.h
asm.h
bat.h
bswap.h
bus.h
cdefs.h
cpu_counter.h Replace machine/rnd.h with more appropriate name to share it 2003-02-05 13:57:50 +00:00
cpu.h Rearrange process exit path to avoid need to free resources from different 2004-01-04 11:33:29 +00:00
cpufunc.h
darwin_machdep.h A working fork/vfork implementation. Darwin fork differs from our fork by 2002-12-08 21:53:10 +00:00
db_machdep.h
disklabel.h
elf_machdep.h
endian_machdep.h
endian.h
float.h
fpu.h
frame.h
hid.h
ieee.h
ieeefp.h
int_const.h
int_fmtio.h
int_limits.h
int_mwgwtypes.h
int_types.h
intr.h Oops. _KERNEL, not KERNEL 2003-12-10 01:26:24 +00:00
ipkdb.h
kcore.h
limits.h
lock.h
macho_machdep.h Add missing file. 2002-10-30 18:31:39 +00:00
Makefile Add <machine/mcontext.h> wrapper. 2003-01-21 14:39:35 +00:00
math.h
mcontext.h Add <machine/mcontext.h> wrapper. 2003-01-21 14:39:35 +00:00
mtpr.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
p5reg.h
param.h Bring some stuff up-to-date. To be continued. 2003-09-27 21:32:12 +00:00
pcb.h
pmap.h
pmc.h Implement pmc(9) -- An interface to hardware performance monitoring 2002-08-07 05:14:47 +00:00
powerpc.h
proc.h
profile.h
psl.h
pte.h
ptrace.h
reg.h
reloc.h
setjmp.h
signal.h
stdarg.h
svr4_machdep.h
trap.h
types.h
varargs.h
vmparam.h Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea). 2003-02-03 17:09:53 +00:00