| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
PR: docs/13218
Notes:
svn path=/head/; revision=60015
|
| |
|
|
|
|
|
| |
More libraries manpages updates following.
Notes:
svn path=/head/; revision=59460
|
| |
|
|
|
|
|
|
|
|
| |
<netch@segfault.kiev.ua>
Remove allocation failure check from 'A' option, the 'X' option does
this as a standalone check now.
Notes:
svn path=/head/; revision=59117
|
| |
|
|
|
|
|
|
| |
See imp's 199808201619.KAA20970@harmony.village.org in freebsd-hackers (the
reallocf.c cvs history mistakenly refers to freebsd-current).
Notes:
svn path=/head/; revision=55186
|
| |
|
|
|
|
|
| |
Approved by: phk
Notes:
svn path=/head/; revision=55006
|
| |
|
|
|
|
|
| |
does not zero the allocated memory.
Notes:
svn path=/head/; revision=53111
|
| |
|
|
| |
Notes:
svn path=/head/; revision=51667
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50476
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlines in mdoc(7)
- Other misc mdoc cleanup.
PR: doc/13144
Submitted by: Alexy M. Zelkin <phantom@cris.net>
Notes:
svn path=/head/; revision=49828
|
| |
|
|
| |
Notes:
svn path=/head/; revision=49744
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes have made this too expensive. This gains about 1.25% on
worldstone on my SMP machine.
Swap-less machines, for instance PicoBSDs, and machines which experience
page-out trafic, check with top(1), will probably want to reenable this
with:
ln -s H /etc/malloc.conf
Suggested by: alc (&dyson ?)
Notes:
svn path=/head/; revision=45091
|
| |
|
|
|
|
|
|
|
| |
o Properly order things
Pointed out by: bde
Notes:
svn path=/head/; revision=39325
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when it returns NULL to indicate failure, it will also free the memory
that was passed to it, if that was non-null.
This does not change the semantics of realloc.
A second commit will be done to commit the conversion of those places in
the code that can safely use this to avoid memory leaks when confronted
with low memory situations.
Beaten-to-death-but-finally-approved-in: -current
Notes:
svn path=/head/; revision=39191
|
| |
|
|
| |
Notes:
svn path=/head/; revision=29563
|
| |
|
|
| |
Notes:
svn path=/head/; revision=28830
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
Various cleanup from Keith Bostic
Reinstate calloc() as a separate funtion, in its own source/object file.
leave the manpage integrated with malloc.3 and friends. Too many things
were broken in this respect.
PR: 4002
Reviewed by: phk
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
Submitted by: Keith Bostic <bostic@bostic.com>
Notes:
svn path=/head/; revision=27152
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Various portability and stylistic cleanups.
Kill MALLOC_STATS & the 'D' option.
Fix the 'V' option.
Major overhaul of the man-page.
You milage should not vary.
Reviewed by: Keith Bostic <bostic@bostic.com>
Submitted by: Keith Bostic <bostic@bostic.com>
Notes:
svn path=/head/; revision=26816
|
| |
|
|
|
|
|
| |
Prompted by: X11 & XFree86
Notes:
svn path=/head/; revision=26579
|
| |
|
|
|
|
|
|
|
|
| |
Untested support for Solaris from John-Mark Gurney
Reviewed by: phk
Submitted by: (partially) John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Notes:
svn path=/head/; revision=26284
|
| |
|
|
| |
Notes:
svn path=/head/; revision=24125
|
| |
|
|
| |
Notes:
svn path=/head/; revision=22993
|
| |
|
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Notes:
svn path=/head/; revision=21673
|
| |
|
|
|
|
|
|
|
|
|
| |
Various neat features added. More documentation in the manpage.
If your machine has very little RAM, I guess that would be < 16M
these days :-(, you may want to try this:
ln -fs 'H<' /etc/malloc.conf
check the manpage.
Notes:
svn path=/head/; revision=18479
|
| |
|
|
|
|
|
|
|
| |
try and silence "manck".
ncurses, rpc, and some of the gnu stuff are still a big mess, however.
Notes:
svn path=/head/; revision=14038
|
| |
|
|
| |
Notes:
svn path=/head/; revision=13750
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"zero' and 'junk' options to help find and diagnose malloc abuse.
EXTRA_SANITY defaults "junk" to on.
Don't dump the internal state, unless EXTRA_SANITY.
General code cleanup.
Error messages cleaned up a bit, more checking earlier.
EXTRA_SANITY is default at this time (just in case).
Performance (without EXTRA_SANITY) is better, beats gnumalloc in
both time & space most of the time:
# In-memory test.
./malloc 50000000 2000 8192
159.2u 1.5s 2:41.85 99.3% 5+7742k 0+0io 0pf+0w
./gnumalloc 50000000 2000 8192
272.6u 0.4s 4:35.01 99.3% 5+8533k 0+0io 0pf+0w
# Swap-space test.
./malloc 500000 14000 8192
6.5u 4.1s 4:08.87 4.3% 5+49209k 0+0io 9772pf+0w
./gnumalloc 500000 14000 8192
16.2u 14.5s 15:36.14 3.2% 5+54100k 0+0io 47651pf+0w
# Small items test.
./malloc 20000000 20000 2048
67.0u 0.3s 1:07.83 99.2% 5+18199k 0+0io 4pf+0w
./gnumalloc 20000000 20000 2048
66.2u 0.3s 1:07.03 99.3% 5+18107k 0+0io 0pf+0w
SANITY is not an option anymore. (!!)
Notes:
svn path=/head/; revision=11338
|
| |
|
|
|
|
|
|
|
|
| |
Performance is comparable to gnumalloc if you have sufficient RAM, and
it screams around it if you don't.
Compiled with "EXTRA_SANITY" until further notice.
see malloc.3 for more details.
Notes:
svn path=/head/; revision=10818
|
|
|
Notes:
svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573
|