freebsd-nq/sys/vm
Mark Johnston f1b642c255 vm_fault: Introduce a fault_status enum for internal return types
Rather than overloading the meanings of the Mach statuses, introduce a
new set for use internally in the fault code.  This makes the control
flow easier to follow and provides some extra error checking when a
fault status variable is used in a switch statement.

vm_fault_lookup() and vm_fault_relookup() continue to use Mach statuses
for now, as there isn't much benefit to converting them and they
effectively pass through a status from vm_map_lookup().

Obtained from:	jeff (object_concurrency patches)
Reviewed by:	kib
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D33017
2021-11-24 14:02:55 -05:00
..
_vm_phys.h
_vm_radix.h
default_pager.c
device_pager.c
memguard.c
memguard.h
phys_pager.c
pmap.h
redzone.c redzone: Raise a compile error if KASAN is configured 2021-07-23 10:47:13 -04:00
redzone.h
sg_pager.c
swap_pager.c Externalize nsw_cluster_max and initialize it early. 2021-09-28 11:23:52 -07:00
swap_pager.h forward declare struct thread 2021-10-11 12:59:39 -06:00
uma_core.c uma: Fix handling of reserves in zone_import() 2021-11-01 09:51:43 -04:00
uma_dbg.c
uma_dbg.h
uma_int.h
uma.h Remove some remaining references to VM_ALLOC_NOOBJ 2021-10-19 21:22:56 -04:00
vm_domainset.c
vm_domainset.h
vm_dumpset.h minidump: Use the provided dump bitset 2021-11-19 15:05:52 -04:00
vm_extern.h Add vnode_pager_purge_range(9) KPI 2021-08-05 22:52:26 +08:00
vm_fault.c vm_fault: Introduce a fault_status enum for internal return types 2021-11-24 14:02:55 -05:00
vm_glue.c Fix a common typo in syctl descriptions 2021-11-03 20:49:24 +01:00
vm_init.c
vm_kern.c vm_page: Handle VM_ALLOC_NORECLAIM in the contiguous page allocator 2021-11-11 14:26:41 -05:00
vm_kern.h
vm_map.c setrlimit: Take stack gap into account. 2021-10-15 10:21:47 +02:00
vm_map.h setrlimit: Take stack gap into account. 2021-10-15 10:21:47 +02:00
vm_meter.c
vm_mmap.c ommap: fix signed len and pos arguments 2021-11-15 18:34:28 +00:00
vm_object.c vm: Add a mode to vm_object_page_remove() which skips invalid pages 2021-11-15 13:01:30 -05:00
vm_object.h vm: Add a mode to vm_object_page_remove() which skips invalid pages 2021-11-15 13:01:30 -05:00
vm_page.c vm_page: Consolidate page busy sleep mechanisms 2021-11-15 13:01:30 -05:00
vm_page.h vm_page: Remove vm_page_sbusy() and vm_page_xbusy() 2021-11-15 13:01:30 -05:00
vm_pageout.c Fix a few typos in source code comments 2021-08-14 09:06:09 +02:00
vm_pageout.h
vm_pagequeue.h
vm_pager.c vm_pager: Optimize an assertion 2021-11-15 13:01:30 -05:00
vm_pager.h
vm_param.h
vm_phys.c minidump: De-duplicate is_dumpable() 2021-09-29 16:41:52 -03:00
vm_phys.h minidump: De-duplicate is_dumpable() 2021-09-29 16:41:52 -03:00
vm_radix.c
vm_radix.h
vm_reserv.c
vm_reserv.h
vm_swapout_dummy.c
vm_swapout.c Make vmdaemon timeout configurable 2021-10-17 13:49:29 +01:00
vm_unix.c
vm.h
vnode_pager.c Add vnode_pager_purge_range(9) KPI 2021-08-05 22:52:26 +08:00
vnode_pager.h