History log of /freebsd-9.3-release/share/man/man9/malloc.9
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 237216 18-Jun-2012 eadler

MFC r233648:
Remove trailing whitespace per mdoc lint warning

Approved by: cperciva (implicit)


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 204604 02-Mar-2010 joel

The NetBSD Foundation has granted permission to remove clause 3 and 4 from
their software.

Obtained from: NetBSD


# 184205 23-Oct-2008 des

Retire the MALLOC and FREE macros. They are an abomination unto style(9).

MFC after: 3 months


# 177608 25-Mar-2008 ru

s/M_TRYWAIT/M_WAIT/


# 142246 22-Feb-2005 brueffer

Xref memguard(9)


# 140561 21-Jan-2005 ru

Sort sections.


# 130843 21-Jun-2004 mpp

Spelling fixes.


# 126682 06-Mar-2004 jkoshy

Cross-reference contigmalloc(9).


# 125889 16-Feb-2004 des

Back out previous commit due to objections.


# 125883 16-Feb-2004 des

Document the change in M_WAITOK semantics.


# 119893 08-Sep-2003 ru

mdoc(7): Use the new feature of the .In macro.


# 116254 12-Jun-2003 harti

Rename the section 'locking considerations' into 'context'.
Change the wording in this section to get rid of references to mutexes
and talk about sleeping instead.

Discussed with: jhb@, ru@


# 115209 21-May-2003 ru

Assorted mdoc(7), grammar, spelling, and punctuation fixes.

Approved by: re (blanket)


# 114781 06-May-2003 hmp

malloc(9) types can be used to identify multiple allocations.

PR: docs/38618
Approved by: des (mentor)


# 113332 10-Apr-2003 harti

Forced commit to fill in the fields below for the last commit. Also
bump the date of the man page.

PR: docs/24797
Reviewed by: bde, jake, jhb


# 113283 09-Apr-2003 harti

Explicitely document the locking requirements for the malloc interface.
While beeing here also correct the following:

- list missing macros in the header
- document MALLOC_DEFINE and MALLOC_DECLARE in the SYNOPSIS section
- document additional include requirements for MALLOC_DEFINE
- M_NOWAIT is not 0 anymore
- remove rotted diagnostic messages


# 111413 24-Feb-2003 trhodes

Return bits which were removed in revision 1.28.

Requested by: imp


# 110397 05-Feb-2003 charnier

The .Fn function


# 109624 21-Jan-2003 alfred

Catch up to WAIT/NOWAIT cleanup.


# 109537 19-Jan-2003 sheldonh

Add required commas that were ommitted in the previous delta; the
SEE ALSO section's list of manual pages must be comma-separated.


# 109493 18-Jan-2003 alfred

Document lock order reversals possible when calling allocation functions
with vnode interlocks held.

Emphasize that users need to be careful with malloc flags versus mbuf
flags.

Remove stale portion in vnode.9 about v_tag. We don't have it anylonger.

Submitted by: Hiten Pandya <hiten@unixdaemons.com>


# 109459 18-Jan-2003 rwatson

Caution programmers not to confuse M_DONTWAIT with M_NOWAIT. They
are not the same.

Suggested by: Hiten Pandya <hiten@unixdaemons.com>


# 108260 24-Dec-2002 ru

Spelling: s/then/than/ where appropriate.


# 92567 18-Mar-2002 ru

mdoc(7) police: fixed some wording, kill whitespace at EOL.


# 92194 12-Mar-2002 archie

Add realloc() and reallocf(), and make free(NULL, ...) acceptable.

Reviewed by: alfred


# 84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


# 82249 23-Aug-2001 jhb

Spelling fix: depreciated -> deprecated.


# 82248 23-Aug-2001 jhb

Remove refernces to M_ASLEEP/asleep/await.


# 79727 14-Jul-2001 schweikh

Removed whitespace at end-of-line; no content changes. I simply did
cd src/share; find man[1-9] -type f|xargs perl -pi -e 's/[ \t]+$//'

BTW, what editors are the culprits? I'm using vim and it shows
me whitespace at EOL in troff files with a thick blue block...

Reviewed by: Silence from cvs diff -b
MFC after: 7 days


# 79538 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


# 72123 07-Feb-2001 ru

mdoc(7) police: Removed extraneous .No call. The .Nm macro in
mdocNG has been fixed to properly handle its arguments so this
was causing the extraneous (undesirable) space.


# 70466 29-Dec-2000 ru

Prepare for mdoc(7)NG.


# 67384 20-Oct-2000 phk

Introduce the M_ZERO flag to malloc(9)

Instead of:

foo = malloc(sizeof(foo), M_WAIT);
bzero(foo, sizeof(foo));

You can now (and please do) use:

foo = malloc(sizeof(foo), M_WAIT | M_ZERO);

In the future this will enable us to do idle-time pre-zeroing of
malloc-space.


# 57731 03-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 51795 29-Sep-1999 dillon

Bring kernel malloc documentation up to date, including the example.

PR: docs/10059


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 48795 12-Jul-1999 nik

Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

.\" $Id$
.\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by: bde


# 48264 27-Jun-1999 mpp

Fix some typos and do some minor mdoc cleanup.


# 43920 12-Feb-1999 alex

Removed occurrences of consecutive repeated words (such as "the the").


# 42025 22-Dec-1998 dillon

M_AWAIT changed to M_ASLEEP


# 42024 22-Dec-1998 dillon

Documentation update for new M_AWAIT flag to kernel malloc, plus revamp
the descriptions of the flags and return value.


# 37331 02-Jul-1998 phk

Fix argument reversal in example.
PR: 7138
Reviewed by: phk
Submitted by: Robert Watson <robert+freebsd@cyrus.watson.org>


# 33923 28-Feb-1998 jraynard

Fix a few typos.


# 32572 16-Jan-1998 bde

Fixed a missing #include in the synopsis.


# 30296 11-Oct-1997 phk

Update malloc.9 to reflect new reality.


# 24126 22-Mar-1997 mpp

Add malloc(9) to document the kernel malloc() and free() routines.

Obtained from: NetBSD w/changes to reflect current FreeBSD headers
and diagnostic messages.