Jason Evans
6b2c15da6a
Add malloc_usable_size(3).
...
Discussed with: arch@
2006-03-28 22:16:04 +00:00
Jason Evans
2d07e432d4
Modify allocation policy, in order to avoid excessive fragmentation for
...
allocation patterns that involve a relatively even mixture of many
different size classes.
Reduce the chunk size from 16 MB to 2 MB. Since chunks are now carved up
using an address-ordered first best fit policy, VM map fragmentation is
much less likely, which makes smaller chunks not as much of a risk. This
reduces the virtual memory size of most applications.
Remove redzones, since program buffer overruns are no longer as likely to
corrupt malloc data structures.
Remove the C MALLOC_OPTIONS flag, and add H and S.
2006-03-17 09:00:27 +00:00
Joel Dahl
fbf9b468d5
Expand contractions.
2006-02-01 14:33:14 +00:00
Jason Evans
24b6d11c34
Replace malloc(), calloc(), posix_memalign(), realloc(), and free() with
...
a scalable concurrent allocator implementation.
Reviewed by: current@
Approved by: phk, markm (mentor)
2006-01-13 18:38:56 +00:00
Ruslan Ermilov
4ca0505435
Fix prototype.
2005-11-23 20:34:37 +00:00
Ruslan Ermilov
24a0682c64
Sort sections.
2005-01-20 09:17:07 +00:00
Alfred Perlstein
65da79c4be
Reword recent addition about memory moving.
...
Requested by: keramida
Bump .Dd
Requested by: ru
2004-08-19 16:34:31 +00:00
Alfred Perlstein
09a12d75cf
Clarify that realloc and reallocf may move the memory allocation.
2004-08-18 21:13:15 +00:00
Ruslan Ermilov
facc67676f
mdoc(7) police: Deal with self-xrefs.
2002-12-24 13:41:48 +00:00
Tom Rhodes
bd8dfc819e
Document what really occurs when we obtain an error.
...
PR: 43357
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
2002-12-20 01:01:24 +00:00
Ruslan Ermilov
5c564bae0a
mdoc(7) police: Fixed abuses of the .Ar and .Em macros.
2002-12-18 13:33:04 +00:00
Ruslan Ermilov
1fae73b137
mdoc(7) police: "The .Fn function".
2002-12-18 12:45:11 +00:00
Ruslan Ermilov
8d5d039f80
Uniformly refer to a file system as "file system".
...
Approved by: re
2002-12-12 17:26:04 +00:00
Ruslan Ermilov
ae82896268
Consistently mark std(in|out|err) with .Dv, because that's how they
...
are marked up in stdio(3), and because they are defined expressions
of type "FILE *".
Approved by: re
2002-12-04 18:57:46 +00:00
Giorgos Keramidas
f2572d955f
Clarify the bit about realloc() and its `ptr' argument a bit.
...
Hopefully, now it is more clear that the memory referenced by the
ptr argument of realloc(ptr,size) is freed and only the return value
of realloc() points to a valid memory area upon successful completion.
Submitted by: Martin Faxer <gmh003532@brfmasthugget.se>
2002-06-06 22:11:19 +00:00
Ruslan Ermilov
74784e8141
mdoc(7) police: nit.
2002-05-29 15:44:34 +00:00
Poul-Henning Kamp
9908ed2b1e
Constify _malloc_options.
2002-04-24 16:49:36 +00:00
Ruslan Ermilov
f0cc88ffed
mdoc(7) police: kill HSBs, add missing comma.
2001-12-12 14:41:53 +00:00
Giorgos Keramidas
fe1b3cedf9
Be more explicit about the fact that realloc() might return a
...
different pointer than the one passed to it.
PR: docs/31925
Submitted by: Andrew <andrew@ugh.net.au>
2001-11-24 03:05:40 +00:00
Dima Dorfman
8b642e3004
malloc and calloc do not free memory.
...
PR: 31365
Submitted by: SUZUKI Koichi <koich@cac.co.jp>
2001-11-05 00:39:27 +00:00
Jeroen Ruigrok van der Werven
8aefde0607
Move to using .In instead of .Fd #include <> for include mark-up.
...
Inspired by comment from: dd
2001-09-07 14:46:36 +00:00
Ruslan Ermilov
a9bef12a45
Markup nits: use diagnostic type lists for error and warning messages.
...
Backout previous revision. We should not expand plain text xrefs if
they appear in the literal text, e.g. in the error or warning message
of the library function. (Submitted by: bde)
Moved "out of memory" from warning to errors section.
2001-08-10 11:41:55 +00:00
Ruslan Ermilov
6575e6daae
mdoc(7) police: expand plain text xrefs.
2001-08-08 11:48:28 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
a307d59838
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 13:41:46 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Ruslan Ermilov
62205fee40
mdoc(7) police: mark NULL with .Dv.
2001-07-04 12:04:25 +00:00
Dima Dorfman
44fe68c421
mdoc(7) police: the BUGS section should go after HISTORY and AUTHORS.
2001-06-24 20:58:20 +00:00
Dima Dorfman
17011fc056
The fact that phk wrote this is not a bug!
2001-06-24 20:56:39 +00:00
Dima Dorfman
acaa9950a4
Reword a sentence to make it proper English.
2001-06-24 18:11:42 +00:00
Ruslan Ermilov
588a200ce1
.St -ansiC -> .St -isoC
2001-02-26 13:23:47 +00:00
Ruslan Ermilov
9a801ec807
mmap(3) -> mmap(2).
2001-02-12 08:27:06 +00:00
Nik Clayton
38f2cd4aa4
.Xr to mmap.
2001-02-11 18:53:50 +00:00
Ruslan Ermilov
46eea498da
mdoc(7) police: Change -filled displays (which just happen
...
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Ruslan Ermilov
32f6256a49
Prepare for mdoc(7)NG.
2001-01-16 09:08:22 +00:00
Ruslan Ermilov
4263595653
Prepare for mdoc(7)NG.
2000-12-29 14:08:20 +00:00
Ruslan Ermilov
ed40311694
mdoc(7) police: removed history info from the .Os FreeBSD call.
2000-12-14 11:52:05 +00:00
Poul-Henning Kamp
798c1fd885
Make it possible to override the function which writes messages to
...
stderr in case of warnings and errors.
Rename malloc_options to have a leading underscore, I belive I have been
told that is more correct namespace wise.
2000-11-26 10:30:18 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Mike Pritchard
751f44657e
Minor mdoc cleanup.
...
PR: docs/13218
2000-05-05 02:21:45 +00:00
Alexey Zelkin
25bb73e063
Introduce ".Lb" macro to libc manpages.
...
More libraries manpages updates following.
2000-04-21 09:42:15 +00:00
Poul-Henning Kamp
aad4b9d1e8
Add a missing THREAD_UNLOCK() found missing by Valentin Nechayev
...
<netch@segfault.kiev.ua>
Remove allocation failure check from 'A' option, the 'X' option does
this as a standalone check now.
2000-04-10 09:24:44 +00:00
Tim Vanderhoek
e99fd39264
Add history: The reallocf() function first appeared in FreeBSD-3.0.
...
See imp's 199808201619.KAA20970@harmony.village.org in freebsd-hackers (the
reallocf.c cvs history mistakenly refers to freebsd-current).
1999-12-28 15:14:59 +00:00
Sheldon Hearn
b3c5295256
Document the current behaviour with respect to the handling of errno.
...
Approved by: phk
1999-12-22 17:04:46 +00:00
Peter Wemm
0d052386ba
Go to a bit more trouble to make it absolutely clear that malloc(3)
...
does not zero the allocated memory.
1999-11-12 16:41:21 +00:00
Chris Costello
0df0b5481f
Change .Fn to .Xr on a couple of lines where abort(3) is referenced.
1999-09-25 22:42:12 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Mike Pritchard
74804d58a0
Various man page cleanup:
...
- 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>
1999-08-15 09:51:25 +00:00
Chris Costello
a251398eea
Fix .Xr line for `getpagesize'
1999-08-14 07:33:15 +00:00