freebsd-nq/sys/vm
Konstantin Belousov 9410cd7d9e Return different error code for the guard page layout violation.
On KERN_NO_SPACE error, as it is returned now, vm_map_find() continues
the loop searching for the suitable range for the requested mapping
with specific alignment.  Since the vm_map_findspace() succesfully
finds the same place, the loop never ends.

The errors returned from vm_map_stack() completely repeat the behavior
of vm_map_insert() now, as suggested by Alan.

Reported by:	Arto Pekkanen <aksyom@gmail.com>
PR:	223732
Reviewed by:	alc, markj
Discussed with:	jhb
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Differential revision:	https://reviews.freebsd.org/D13186
2017-11-22 16:45:27 +00:00
..
_vm_radix.h Add pctrie_init() and vm_radix_init() to initialize generic pctrie and 2017-07-19 20:52:47 +00:00
default_pager.c Provide introductory description of the default pager. 2016-12-14 23:36:32 +00:00
device_pager.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
memguard.c Free the right address range if kmem_back() fails in memguard_alloc(). 2017-10-20 21:13:19 +00:00
memguard.h
phys_pager.c Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
pmap.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
redzone.c
redzone.h
sg_pager.c All these files need sys/vmmeter.h, but now they got it implicitly 2017-04-17 17:07:00 +00:00
swap_pager.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
swap_pager.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
uma_core.c Fix operator priority. 2017-11-08 23:25:05 +00:00
uma_dbg.c Fix memguard(9) in kernels with INVARIANTS enabled. 2016-06-01 22:31:35 +00:00
uma_dbg.h Move uma_dbg_alloc() and uma_dbg_free() into uma_core.c, which allows 2016-02-03 22:02:36 +00:00
uma_int.h Include _bitset.h to get BITSET_DEFINE, used to define struct slabbits. 2017-09-15 14:59:35 +00:00
uma.h Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
vm_domain.c Remove cpu_spinwait after seq_consistent. 2016-12-30 06:26:17 +00:00
vm_domain.h
vm_extern.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_fault.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
vm_glue.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_init.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_kern.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_kern.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_map.c Return different error code for the guard page layout violation. 2017-11-22 16:45:27 +00:00
vm_map.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_meter.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_mmap.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_object.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_object.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_page.c Allow for fictitious physical pages in vm_page_scan_contig(). 2017-11-21 13:17:40 +00:00
vm_page.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_pageout.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
vm_pageout.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_pager.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_pager.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_param.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm_phys.c Speed up vm_page_array initialization. 2017-09-07 21:43:39 +00:00
vm_phys.h Reduce traffic on vm_cnt.v_free_count 2017-10-13 21:54:34 +00:00
vm_radix.c Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
vm_radix.h Replace manyinstances of VM_WAIT with blocking page allocation flags 2017-11-08 02:39:37 +00:00
vm_reserv.c Utilize pmap_enter(..., psind=1) in vm_fault_soft_fast() on amd64. (The 2017-07-23 16:28:13 +00:00
vm_reserv.h Utilize pmap_enter(..., psind=1) in vm_fault_soft_fast() on amd64. (The 2017-07-23 16:28:13 +00:00
vm_swapout_dummy.c Move swapout code into vm/vm_swapout.c. 2017-10-20 09:10:49 +00:00
vm_swapout.c Move swapout code into vm/vm_swapout.c. 2017-10-20 09:10:49 +00:00
vm_unix.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vm.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
vnode_pager.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
vnode_pager.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00