freebsd-dev/sys/vm
Peter Wemm c460ac3a00 Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit
systems where the data/stack/etc limits are too big for a 32 bit process.

Move the 5 or so identical instances of ELF_RTLD_ADDR() into imgact_elf.c.

Supply an ia32_fixlimits function.  Export the clip/default values to
sysctl under the compat.ia32 heirarchy.

Have mmap(0, ...) respect the current p->p_limits[RLIMIT_DATA].rlim_max
value rather than the sysctl tweakable variable.  This allows mmap to
place mappings at sensible locations when limits have been reduced.

Have the imgact_elf.c ld-elf.so.1 placement algorithm use the same
method as mmap(0, ...) now does.

Note that we cannot remove all references to the sysctl tweakable
maxdsiz etc variables because /etc/login.conf specifies a datasize
of 'unlimited'.  And that causes exec etc to fail since it can no
longer find space to mmap things.
2003-09-25 01:10:26 +00:00
..
default_pager.c
device_pager.c
phys_pager.c
pmap.h Add a new parameter to pmap_extract_and_hold() that is needed to eliminate 2003-09-12 07:07:49 +00:00
swap_pager.c
swap_pager.h
uma_core.c - Fix MD_SMALL_ALLOC on architectures that support it. Define a new alloc 2003-09-21 07:39:16 +00:00
uma_dbg.c - Fix the silly flag situation in UMA. Remove redundant ZFLAG/ZONE flags 2003-09-19 08:37:44 +00:00
uma_dbg.h
uma_int.h - Remove the working-set algorithm. Instead, use the per cpu buckets as the 2003-09-19 23:27:46 +00:00
uma.h - Fix the silly flag situation in UMA. Remove redundant ZFLAG/ZONE flags 2003-09-19 08:37:44 +00:00
vm_contig.c
vm_extern.h
vm_fault.c Add vm object locking to vnode_pager_lock(). (This triggers the movement 2003-09-18 02:26:03 +00:00
vm_glue.c
vm_init.c
vm_kern.c Call vm_page_unmanage() on pages belonging to the kmem_object. This 2003-09-14 02:37:59 +00:00
vm_kern.h
vm_map.c Adjust the kmapentzone limit so that it takes into account the size of 2003-09-23 18:56:54 +00:00
vm_map.h
vm_meter.c
vm_mmap.c Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
vm_object.c Remove GIANT_REQUIRED from vm_object_shadow(). 2003-09-17 07:00:14 +00:00
vm_object.h
vm_page.c Initialize the page's pindex field even for VM_ALLOC_NOOBJ allocations. 2003-09-22 00:56:13 +00:00
vm_page.h
vm_pageout.c Merge vm_pageout_free_page_calc() into vm_pageout(), eliminating some 2003-09-19 05:03:45 +00:00
vm_pageout.h
vm_pageq.c
vm_pager.c
vm_pager.h
vm_param.h
vm_unix.c
vm_zeroidle.c
vm.h
vnode_pager.c Add vm object locking to vnode_pager_lock(). (This triggers the movement 2003-09-18 02:26:03 +00:00
vnode_pager.h