NetBSD/share
atatat df0a9badc6 Introduce "top down" memory management for mmap()ed allocations. This
means that the dynamic linker gets mapped in at the top of available
user virtual memory (typically just below the stack), shared libraries
get mapped downwards from that point, and calls to mmap() that don't
specify a preferred address will get mapped in below those.

This means that the heap and the mmap()ed allocations will grow
towards each other, allowing one or the other to grow larger than
before.  Previously, the heap was limited to MAXDSIZ by the placement
of the dynamic linker (and the process's rlimits) and the space
available to mmap was hobbled by this reservation.

This is currently only enabled via an *option* for the i386 platform
(though other platforms are expected to follow).  Add "options
USE_TOPDOWN_VM" to your kernel config file, rerun config, and rebuild
your kernel to take advantage of this.

Note that the pmap_prefer() interface has not yet been modified to
play nicely with this, so those platforms require a bit more work
(most notably the sparc) before they can use this new memory
arrangement.

This change also introduces a VM_DEFAULT_ADDRESS() macro that picks
the appropriate default address based on the size of the allocation or
the size of the process's text segment accordingly.  Several drivers
and the SYSV SHM address assignment were changed to use this instead
of each one picking their own "default".
2003-02-20 22:16:05 +00:00
..
dict Remove "freen" and "freend", the first is no word, the second archaic 2003-01-29 12:46:22 +00:00
doc "Utilize" has exactly the same meaning as "use," but it is more 2003-02-05 00:02:24 +00:00
examples add example disktab file 2002-12-17 15:16:40 +00:00
locale If we're preprocessing with cpp, it's not a very good idea to use 2002-12-06 02:50:21 +00:00
man Introduce "top down" memory management for mmap()ed allocations. This 2003-02-20 22:16:05 +00:00
me Correct error in last commit: "revisions" should not be removed during 2002-03-17 21:11:32 +00:00
misc Add ROA (Roanoke, VA). 2003-02-17 12:19:27 +00:00
mk When making a LKM for powerpc, add function trampolines to undefined 2003-02-19 19:03:41 +00:00
nls minor makefile delint 2002-09-18 07:50:31 +00:00
sushi Added touch panel calibration utility. 2002-08-27 14:12:09 +00:00
tabset minor makefile delint 2002-09-18 07:50:31 +00:00
termcap Once again fix the `pk' entry in iris-ansi (it appears to have been fixed 2003-02-06 04:25:03 +00:00
tmac Add libpthread and librt. 2003-01-22 23:40:19 +00:00
wscons minor makefile delint 2002-09-18 07:50:31 +00:00
zoneinfo through, not throught. 2003-01-06 12:29:48 +00:00
Makefile Descend into nls. 2002-02-14 06:49:57 +00:00
Makefile.inc