freebsd-skq/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 Access the swap_pagers' ->putpages() through swappagerops instead 2003-08-06 12:05:48 +00:00
device_pager.c Use sparse struct initializations for struct pagerops. 2003-08-05 06:51:26 +00:00
phys_pager.c Use sparse struct initializations for struct pagerops. 2003-08-05 06:51:26 +00:00
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 Don't open with exclusive bit, swapon(8) wants to trash our swapdev. 2003-09-02 05:53:44 +00:00
swap_pager.h Staticize swap_pager_putpages() 2003-08-06 12:08:27 +00:00
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 - Use my freebsd email alias in the copyright. 2002-09-19 06:05:32 +00:00
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 Add the mlockall() and munlockall() system calls. 2003-08-11 07:14:08 +00:00
vm_extern.h Make swaponvp() static to the swap_pager. 2003-08-15 12:04:29 +00:00
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 Three unrelated changes to vm_proc_new(): (1) add vm object locking on the 2003-08-18 01:31:43 +00:00
vm_init.c Change clean_map from a global to an auto variable 2003-09-01 16:46:47 +00:00
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 More pipe changes: 2003-08-11 05:51:51 +00:00
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 Introduce MAP_ENTRY_GROWS_DOWN and MAP_ENTRY_GROWS_UP to allow for 2003-08-30 21:25:23 +00:00
vm_meter.c Use __FBSDID(). 2003-06-11 23:50:51 +00:00
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 Reduce the size of the vm object on 64-bit architectures by moving 2003-08-12 20:10:32 +00:00
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 Assert that u_long is at least 64 bits if PAGE_SIZE is 32K. 2003-08-25 19:58:01 +00:00
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 Change the layout policy of the swap_pager from a hardcoded width 2003-08-03 13:35:31 +00:00
vm_pageq.c Expand inline the relevant parts of src/COPYRIGHT for Matt Dillon's 2003-08-12 23:24:05 +00:00
vm_pager.c Use sparse struct initializations for struct pagerops. 2003-08-05 06:51:26 +00:00
vm_pager.h Add XXX: comment to vm_pager_unswapped(). 2003-08-06 10:51:40 +00:00
vm_param.h Rev 1.16 renamed VM_METER to VM_TOTAL. This is breaking 3rd-party apps. 2003-01-18 21:14:02 +00:00
vm_unix.c Add the mlockall() and munlockall() system calls. 2003-08-11 07:14:08 +00:00
vm_zeroidle.c Expand inline the relevant parts of src/COPYRIGHT for Matt Dillon's 2003-08-12 23:24:05 +00:00
vm.h Change the way ELF coredumps are handled. Instead of unconditionally 2002-12-16 19:24:43 +00:00
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 Remove __P. 2002-03-19 22:20:14 +00:00