NetBSD/sys/uvm
thorpej 1da427a80a Change the pmap_enter() API slightly; pmap_enter() now returns an error
value (KERN_SUCCESS or KERN_RESOURCE_SHORTAGE) indicating if it succeeded
or failed.  Change the `wired' and `access_type' arguments to a single
`flags' argument, which includes the access type, and flags:

	PMAP_WIRED	the old `wired' boolean
	PMAP_CANFAIL	pmap_enter() is allowed to fail

If PMAP_CANFAIL is not specified, the pmap should behave as it always
has in the face of a drastic resource shortage: fall over dead.

Change the fault handler to deal with failure (which indicates resource
shortage) by unlocking everything, waiting for the pagedaemon to free
more memory, then retrying the fault.
1999-11-13 00:24:38 +00:00
..
Makefile
uvm.h Always pass all arguments to uvm_sleep(). 1999-11-13 00:21:17 +00:00
uvm_amap.c
uvm_amap.h
uvm_amap_i.h
uvm_anon.c
uvm_anon.h
uvm_aobj.c
uvm_aobj.h
uvm_ddb.h
uvm_device.c Change the pmap_enter() API slightly; pmap_enter() now returns an error 1999-11-13 00:24:38 +00:00
uvm_device.h
uvm_extern.h
uvm_fault.c Change the pmap_enter() API slightly; pmap_enter() now returns an error 1999-11-13 00:24:38 +00:00
uvm_fault.h
uvm_fault_i.h
uvm_glue.c Change the pmap_enter() API slightly; pmap_enter() now returns an error 1999-11-13 00:24:38 +00:00
uvm_glue.h
uvm_init.c
uvm_io.c
uvm_km.c Change the pmap_enter() API slightly; pmap_enter() now returns an error 1999-11-13 00:24:38 +00:00
uvm_km.h
uvm_loan.c
uvm_loan.h
uvm_map.c
uvm_map.h
uvm_map_i.h
uvm_meter.c
uvm_mmap.c Change the pmap_enter() API slightly; pmap_enter() now returns an error 1999-11-13 00:24:38 +00:00
uvm_object.h
uvm_page.c
uvm_page.h
uvm_page_i.h
uvm_pager.c Change the pmap_enter() API slightly; pmap_enter() now returns an error 1999-11-13 00:24:38 +00:00
uvm_pager.h
uvm_pager_i.h
uvm_pdaemon.c Const poison uvm_wait(). 1999-11-04 21:51:42 +00:00
uvm_pdaemon.h Const poison uvm_wait(). 1999-11-04 21:51:42 +00:00
uvm_pglist.c
uvm_stat.c
uvm_stat.h
uvm_swap.c In spec_close(), if we're not doing a non-blocking close and VXLOCK is 1999-10-16 23:53:26 +00:00
uvm_swap.h
uvm_unix.c
uvm_user.c
uvm_vnode.c put various debugging printfs under #ifdef DEBUG. 1999-10-19 16:04:45 +00:00
uvm_vnode.h