freebsd-skq/sys/vm
kib 7f8a65c9fc Make mmap(MAP_STACK) search for the available address space, similar
to !MAP_STACK mapping requests.  For MAP_STACK | MAP_FIXED, clear any
mappings which could previously exist in the used range.

For this, teach vm_map_find() and vm_map_fixed() to handle
MAP_STACK_GROWS_DOWN or _UP cow flags, by calling a new
vm_map_stack_locked() helper, which is factored out from
vm_map_stack().

The side effect of the change is that MAP_STACK started obeying
MAP_ALIGNMENT and MAP_32BIT flags.

Reported by:	rwatson
Reviewed by:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2014-06-09 03:37:41 +00:00
..
_vm_radix.h
default_pager.c
device_pager.c Initialize paddr to handle the case of zero size. 2014-03-12 16:38:55 +00:00
memguard.c Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
memguard.h
phys_pager.c
pmap.h
redzone.c
redzone.h
sg_pager.c
swap_pager.c Add sysctl OIDs showing the actual size and capacity of the swap zone. 2014-04-26 12:18:17 +00:00
swap_pager.h
uma_core.c After r251709, avoid a clang 3.4 warning about an unused static const 2014-02-14 17:47:18 +00:00
uma_dbg.c
uma_dbg.h
uma_int.h
uma.h Create two public UMA_ZONE_PCPU zones: 64 bit sized and pointer sized. 2014-02-10 19:59:46 +00:00
vm_extern.h
vm_fault.c Remove redundand loop. The inner goto restarts the whole page 2014-05-21 08:19:04 +00:00
vm_glue.c Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
vm_init.c
vm_kern.c There is no reason to perform the pmap_remove() on the kernel pmap while 2014-05-23 16:22:36 +00:00
vm_kern.h
vm_map.c Make mmap(MAP_STACK) search for the available address space, similar 2014-06-09 03:37:41 +00:00
vm_map.h
vm_meter.c Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
vm_mmap.c Make mmap(MAP_STACK) search for the available address space, similar 2014-06-09 03:37:41 +00:00
vm_object.c Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
vm_object.h
vm_page.c Add a page size field to struct vm_page. Increase the page size field when 2014-06-07 17:12:26 +00:00
vm_page.h Add a page size field to struct vm_page. Increase the page size field when 2014-06-07 17:12:26 +00:00
vm_pageout.c Prior to r254304, a separate function, vm_pageout_page_stats(), was used to 2014-05-06 03:42:04 +00:00
vm_pageout.h
vm_pager.c
vm_pager.h
vm_param.h Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
vm_phys.c For the VM_PHYSSEG_DENSE case, checking the requested range to fall 2014-04-29 18:42:37 +00:00
vm_phys.h Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
vm_radix.c Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
vm_radix.h
vm_reserv.c Add a page size field to struct vm_page. Increase the page size field when 2014-06-07 17:12:26 +00:00
vm_reserv.h
vm_unix.c
vm_zeroidle.c Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
vm.h
vnode_pager.c Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
vnode_pager.h