freebsd-nq/sys/vm
Konstantin Belousov 1c5196c3ed Assign map->header values to avoid boundary checks.
In several places, entry start and end field are checked, after
excluding the possibility that the entry is map->header.  By assigning
max and min values to the start and end fields of map->header in
vm_map_init, the explicit map->header checks become unnecessary.

Submitted by:	Doug Moore <dougm@rice.edu>
Reviewed by:	alc, kib, markj (previous version)
Tested by:	pho (previous version)
MFC after:	1 week
Differential Revision:  https://reviews.freebsd.org/D13735
2018-01-20 12:19:02 +00:00
..
_vm_radix.h
default_pager.c SPDX: wrong license. 2017-11-30 15:45:42 +00:00
device_pager.c
memguard.c
memguard.h
phys_pager.c
pmap.h
redzone.c
redzone.h
sg_pager.c
swap_pager.c Previously, swap_pager_copy() freed swap blocks one at at time, via 2017-12-31 04:01:47 +00:00
swap_pager.h
uma_core.c Move VM_NUMA_ALLOC and DEVICE_NUMA under the single global config option NUMA. 2018-01-14 03:36:03 +00:00
uma_dbg.c
uma_dbg.h
uma_int.h Implement NUMA support in uma(9) and malloc(9). Allocations from specific 2018-01-12 23:25:05 +00:00
uma.h Implement NUMA support in uma(9) and malloc(9). Allocations from specific 2018-01-12 23:25:05 +00:00
vm_domainset.c Move VM_NUMA_ALLOC and DEVICE_NUMA under the single global config option NUMA. 2018-01-14 03:36:03 +00:00
vm_domainset.h Add files for r327895 2018-01-12 22:57:57 +00:00
vm_extern.h Implement NUMA policy for kmem_*(9). This maintains compatibility with 2018-01-12 23:13:55 +00:00
vm_fault.c Implement 'domainset', a cpuset based NUMA policy mechanism. This allows 2018-01-12 22:48:23 +00:00
vm_glue.c ANSIfy function definitions in sys/vm/ 2018-01-12 03:50:44 +00:00
vm_init.c Implement NUMA policy for kmem_*(9). This maintains compatibility with 2018-01-12 23:13:55 +00:00
vm_kern.c Implement NUMA policy for kmem_*(9). This maintains compatibility with 2018-01-12 23:13:55 +00:00
vm_kern.h SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
vm_map.c Assign map->header values to avoid boundary checks. 2018-01-20 12:19:02 +00:00
vm_map.h Assign map->header values to avoid boundary checks. 2018-01-20 12:19:02 +00:00
vm_meter.c
vm_mmap.c Assign map->header values to avoid boundary checks. 2018-01-20 12:19:02 +00:00
vm_object.c Implement 'domainset', a cpuset based NUMA policy mechanism. This allows 2018-01-12 22:48:23 +00:00
vm_object.h Implement 'domainset', a cpuset based NUMA policy mechanism. This allows 2018-01-12 22:48:23 +00:00
vm_page.c Remove SFBUF_OPTIONAL_DIRECT_MAP and such hacks, replacing them across the 2018-01-19 17:46:31 +00:00
vm_page.h Implement 'domainset', a cpuset based NUMA policy mechanism. This allows 2018-01-12 22:48:23 +00:00
vm_pageout.c Move VM_NUMA_ALLOC and DEVICE_NUMA under the single global config option NUMA. 2018-01-14 03:36:03 +00:00
vm_pageout.h After r327168, the variable "vm_pageout_wanted" can be static. 2017-12-29 17:02:22 +00:00
vm_pager.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
vm_pager.h
vm_param.h SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
vm_phys.c Move VM_NUMA_ALLOC and DEVICE_NUMA under the single global config option NUMA. 2018-01-14 03:36:03 +00:00
vm_phys.h Move VM_NUMA_ALLOC and DEVICE_NUMA under the single global config option NUMA. 2018-01-14 03:36:03 +00:00
vm_radix.c
vm_radix.h
vm_reserv.c Implement NUMA policy for kmem_*(9). This maintains compatibility with 2018-01-12 23:13:55 +00:00
vm_reserv.h
vm_swapout_dummy.c SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
vm_swapout.c Restructure swapout tests after vm map locking was removed. 2018-01-04 18:14:58 +00:00
vm_unix.c ANSIfy function definitions in sys/vm/ 2018-01-12 03:50:44 +00:00
vm.h SPDX: Consider code from Carnegie-Mellon University. 2017-11-30 15:48:35 +00:00
vnode_pager.c
vnode_pager.h