freebsd-skq/lib
Peter Wemm 04936d2e08 Change phkmalloc so that the page directory is now floating and allocated
via mmap() up around the shared library area.  Previously the directory
was allocated from space from it's own memory pool.  Because of the way it
was being extended on processes with large malloced data segments (ie: inn)
once the page directory was extended for some reason, it was not possible
to lower the heap size any more to return pages to the OS.
(If my understanding is correct, page directory expansion occurs at 4MB,
12MB, 20MB, 28MB, etc.)  I was seeing INN allocate a large amount of short
term memory, pushing it over the 28MB mark, and once it's transient demands
hit 28MB, it never freed it's pages and swap space again.)

I've been running this in my libc for about a month...

Also, seperate MALLOC_STATS from EXTRA_SANITY..  I found it useful to call
malloc_dump() from within INN from a ctlinnd command to see where the hell
all the memory was going.. :-)  I've left MALLOC_STATS enabled, as it has
no run-time or data storage cost.

Reviewed by: phk
1995-12-11 14:28:12 +00:00
..
csu/i386 Remove my locale hack. Sigh. 1995-11-02 12:42:42 +00:00
libc Change phkmalloc so that the page directory is now floating and allocated 1995-12-11 14:28:12 +00:00
libcom_err Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libcompat Add cfree.3 1995-11-29 21:39:57 +00:00
libcrypt Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libcurses Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libdisk Update the -current sources from the 2.1 branch. 1995-12-07 10:34:59 +00:00
libedit Fix PR#858, /bin/sh corruption caused by non-zeroed malloc() in libedit 1995-12-02 09:43:43 +00:00
libf2c Update to the 1995/09/20 version. Previous version was 1993/12/17. 1995-09-28 20:49:15 +00:00
libF77 Update to the 1995/09/20 version. Previous version was 1993/12/17. 1995-09-28 20:49:15 +00:00
libforms Removed libdialog. 1995-09-16 16:25:25 +00:00
libftp Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libI77 Update to the 1995/09/20 version. Previous version was 1993/12/17. 1995-09-28 20:49:15 +00:00
libipx Reviewed by: julian and jhay@mikom.csir.co.za 1995-10-26 20:31:59 +00:00
libkvm phkmalloc strikes again! :-) Another use of un-cleared returns from 1995-12-09 04:45:50 +00:00
libm Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libmd Add a structure definition to the MD* Contexts, so that cvs can use 1995-12-11 02:18:22 +00:00
libmytinfo Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
libncurses Finally catch up with the Frenchmen, and create the German message 1995-10-21 23:47:43 +00:00
libpam/modules Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
libpcap Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
libresolv
librpc
librpcsvc
libscsi Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libskey Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libss Install non-source files with the optional flag ${COPY}, not with the flag -c. 1995-08-06 12:41:07 +00:00
libtelnet Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libterm
libtermcap Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libutil Update to 4.4lite2 (clean up includes; initialize the name of the master 1995-10-22 19:11:12 +00:00
libxpg4 Add more stuff moved out from XPG3 1995-11-03 09:03:00 +00:00
liby
msun Undo the the changes in the previous revision (MANSRC now works right again). 1995-10-22 19:16:01 +00:00
ncurses/ncurses Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
rpcsvc
Makefile Removed reference to missing libmp in a comment. We have GNU MP now. 1995-11-12 19:32:24 +00:00
Makefile.inc