NetBSD/sys/vm
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
pglist.h
pmap.h Change the pmap_enter() API slightly; pmap_enter() now returns an error 1999-11-13 00:24:38 +00:00
vm_conf.h
vm_extern.h Garbage collect thread_sleep()/thread_wakeup() left over from the old 1999-07-22 22:58:38 +00:00
vm_inherit.h
vm_kern.h
vm_map.h Add a macro to modify flags in a VM map, which handles the locking 1999-07-07 05:33:33 +00:00
vm_object.h rip out some old-vm specific definitions and prototypes for address space 1999-04-10 13:52:11 +00:00
vm_page.h Garbage collect thread_sleep()/thread_wakeup() left over from the old 1999-07-22 22:58:38 +00:00
vm_pageout.h
vm_pager.h rip out some old-vm specific definitions and prototypes for address space 1999-04-10 13:52:11 +00:00
vm_param.h Check to see if TRUE and FALSE are already defined before blindly 1999-04-11 00:59:07 +00:00
vm_prot.h
vm_swap.h
vm.h rip out some old-vm specific definitions and prototypes for address space 1999-04-10 13:52:11 +00:00