Home | History | Annotate | Download | only in man9
History log of /src/share/man/man9/malloc.9
RevisionDateAuthorComments
 1.59  04-Jan-2021  pgoyette Better grammar.
 1.58  04-Jun-2020  wiz Add missing comma.
 1.57  30-May-2020  jdolecek slightly improve sentence, no need to 'Note' when in NOTES section
 1.56  30-May-2020  jdolecek remove M_SOFTDEP from list of supported malloc types, it's long gone

also remove M_PCB - while it is used by SCTP, it's actually not defined
anywhere

in fact add new NOTES section explaining that the malloc types are
actually not used on NetBSD
 1.55  14-Oct-2018  jdolecek remove M_CANFAIL from list of supported flags for malloc(9)
 1.54  03-Jul-2017  wiz branches: 1.54.4; 1.54.6;
Remove workaround for ancient HTML generation code.
 1.53  07-Aug-2015  maxv Remove KMEMSTATS.
 1.52  23-May-2015  maxv Remove the DIAGNOSTIC section, and two references to MALLOC and FREE.
 1.51  27-Dec-2014  wiz New sentence, new line. Bump date for previous.
 1.50  27-Dec-2014  maxv Cleanup:
- remove struct kmembuckets (dead)
- correctly deadify MALLOC_XX
- remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead)
- remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT()
and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc
 1.49  27-May-2014  wiz branches: 1.49.2;
Add missing word
 1.48  27-May-2014  christos I like riastradh's kmem/pool explanation.
 1.47  03-Aug-2009  rmind branches: 1.47.14; 1.47.24;
Mention kmem(9).
 1.46  09-Mar-2009  joerg Reorder .Bl and .Pp so make it clear that the space goes before the
list.
 1.45  29-Dec-2008  ad branches: 1.45.2;
Tweak text.
 1.44  19-Dec-2008  cegger MALLOC and FREE macros no longer exists.
 1.43  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.42  30-Apr-2008  martin branches: 1.42.4;
Convert TNF licenses to new 2 clause variant
 1.41  24-Mar-2008  yamt branches: 1.41.2; 1.41.4;
discourage the new use of malloc(9).
 1.40  30-Jul-2007  alc branches: 1.40.8;
kills a few `caddr_t' occurences still present in manpage
 1.39  14-Jul-2007  ad - kcont was removed.
- Replace some references to tsleep.
 1.38  29-Mar-2007  pooka document MALLOC_JUSTDEFINE and MALLOC_JUSTDEFINE_LIMIT
 1.37  17-Feb-2007  wiz Whitespace nit.
 1.36  16-Feb-2007  rmind - Add link to memoryallocators(9) in kmem_*(9), vmem(9), uvm(9), malloc(9),
pool(9) and pool_cache(9) manuals.
- Sort uvm(9) "SEE ALSO" section.
 1.35  07-Nov-2004  wiz Document that free does not handle NULL. Addresses PR 28063.
 1.34  16-Jul-2003  wiz Bump date for last.
 1.33  16-Jul-2003  dbj fix description of type declaration of "type" argument to free(9)
 1.32  19-Jun-2003  yamt explicitly note MALLOC-free and malloc-FREE is ok.
 1.31  16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.30  15-Mar-2003  wiz Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
 1.29  01-Feb-2003  wiz Typo fix.
 1.28  01-Feb-2003  thorpej Update for extensibe malloc types.
 1.27  17-Jan-2003  itojun switch from kame-based m_aux mbuf auxiliary data, to openbsd m_tag
implementation. it will simplify porting across *bsd (such as kame/altq),
and make us more synchronized. from Joel Wilsson
 1.26  14-Oct-2002  wiz New sentence, new line.
 1.25  27-Jun-2002  yamt note that MALLOC is intended to be used with a constant size.
 1.24  13-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.23  12-Jan-2002  nathanw Reserve the SA malloc type on the trunk.
 1.22  07-Jan-2002  deberg sync type list with <sys/malloc.h>
 1.21  05-Dec-2001  ad Document malloc_roundup().
 1.20  04-Dec-2001  wiz Misc fixes.
 1.19  04-Dec-2001  jdolecek document M_CANFAIL
 1.18  18-Nov-2001  wiz Sort sections.
 1.17  17-Nov-2001  lukem document M_PIPE, M_AGP, M_PROP
 1.16  17-Nov-2001  lukem Add new malloc(9) flag M_ZERO - zeros memory before returning.
From Poul-Henning Kamp's equivalent enhancement in FreeBSD.
 1.15  06-May-2001  wiz Change xref for vmstat(8) to vmstat(1).
Whitespace, punctuation and spelling fixes while I'm here.
 1.14  17-Feb-2001  pooka make this reflect the current state found in malloc.h
 1.13  24-Dec-2000  wiz some whitespace cleanup
 1.12  18-Nov-1999  kristerw Fixed typos (from OpenBSD)
 1.11  08-Sep-1999  oster branches: 1.11.4;
Note M_RAIDFRAME.
 1.10  16-Mar-1999  garbled More .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.9  06-Mar-1999  mycroft Fix formatting errors (bad sentence breaks).
 1.8  29-Jul-1998  pk Add a few more memory types.
 1.7  22-Apr-1998  ross Add David Brownlee's new intro pages, with editing. (PR #534[23])
Also, while here, expand apparently incorrectly .Dd month abbreviations.
(I thought about doing this in tmac/doc-common...heh...that would have
allowed a possible reverse map back to abbreviations.)
 1.6  11-Nov-1997  mrg add missing .Nm sections
 1.5  08-Oct-1997  jtc branches: 1.5.2;
Fix tipo inherited from old version of TNF copyright form.
s/REGENTS/FOUNDATION/.
 1.4  02-Aug-1997  kleink Sync with <sys/malloc.h>.
 1.3  11-Nov-1996  lukem fix the the typos
 1.2  30-Oct-1996  lukem fix typo
 1.1  16-Jun-1996  pk kernel memory allocator
 1.5.2.1  11-Nov-1997  mrg pull up from trunk: add missing .Nm sections
 1.11.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.40.8.2  30-Jul-2007  alc kills a few `caddr_t' occurences still present in manpage
 1.40.8.1  30-Jul-2007  alc file malloc.9 was added on branch matt-mips64 on 2007-07-30 22:48:48 +0000
 1.41.4.1  18-May-2008  yamt sync with head.
 1.41.2.2  02-Jun-2008  mjf Sync with HEAD.
 1.41.2.1  24-Mar-2008  mjf file malloc.9 was added on branch mjf-devfs2 on 2008-06-02 13:21:41 +0000
 1.42.4.1  02-Feb-2009  snj Pull up following revision(s) (requested by ad in ticket #368):
share/man/man9/malloc.9: revision 1.45 via patch
Tweak text.
 1.45.2.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.47.24.1  10-Aug-2014  tls Rebase.
 1.47.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.49.2.2  04-Nov-2015  riz Pull up following revision(s) (requested by maxv in ticket #940):
share/man/man4/options.4: revision 1.446
share/man/man4/options.4: revision 1.447
share/man/man9/malloc.9: revision 1.52
share/man/man9/malloc.9: revision 1.53
Remove the DIAGNOSTIC section, and two references to MALLOC and FREE.
Remove KMEMSTATS.
Remove the malloc debug options. They no longer exist.
Remove KMEMSTATS
 1.49.2.1  17-Jan-2015  martin Pull up following revision(s) (requested by maxv in ticket #427):
sys/compat/svr4/svr4_schedctl.c: revision 1.8
sys/netinet/tcp_timer.c: revision 1.88
sys/miscfs/genfs/layer_vfsops.c: revision 1.45
sys/compat/svr4/svr4_ioctl.c: revision 1.37
sys/ufs/chfs/chfs_vfsops.c: revision 1.14
sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91
sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30
sys/compat/common/kern_time_50.c: revision 1.28
sys/netinet6/ip6_forward.c: revision 1.74
sys/miscfs/umapfs/umap_vnops.c: revision 1.57
sys/compat/svr4/svr4_fcntl.c: revision 1.74
distrib/sets/lists/comp/mi: revision 1.1931
sys/netinet6/udp6_output.c: revision 1.46
sys/fs/puffs/puffs_compat.c: revision 1.3
sys/fs/udf/udf_rename.c: revision 1.11
sys/compat/svr4/svr4_filio.c: revision 1.24
sys/fs/udf/udf_rename.c: revision 1.12
sys/netinet/tcp_usrreq.c: revision 1.202
sys/miscfs/umapfs/umap_subr.c: revision 1.29
sys/compat/linux/common/linux_fadvise64.c: revision 1.3
sys/netinet/if_atm.c: revision 1.34
sys/miscfs/procfs/procfs_subr.c: revision 1.106
sys/miscfs/genfs/layer_subr.c: revision 1.37
sys/netinet/tcp_sack.c: revision 1.30
sys/compat/freebsd/freebsd_misc.c: revision 1.33
sys/compat/freebsd/freebsd_file.c: revision 1.33
sys/ufs/chfs/chfs_vnode.c: revision 1.12
sys/compat/svr4/svr4_ttold.c: revision 1.34
sys/compat/linux/common/linux_file.c: revision 1.114
sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43
sys/compat/linux/common/linux_signal.c: revision 1.76
sys/compat/common/compat_util.c: revision 1.46
sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18
sys/compat/svr4/svr4_sockio.c: revision 1.36
sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32
sys/compat/svr4/svr4_signal.c: revision 1.66
sys/kern/kern_exec.c: revision 1.410
sys/fs/puffs/puffs_vfsops.c: revision 1.115
sys/compat/svr4/svr4_exec_elf64.c: revision 1.15
sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159
sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50
sys/compat/linux32/common/linux32_misc.c: revision 1.24
sys/netinet/in_pcb.c: revision 1.153
sys/sys/malloc.h: revision 1.116
sys/compat/common/if_43.c: revision 1.9
share/man/man9/Makefile: revision 1.380
sys/netinet/tcp_vtw.c: revision 1.12
sys/miscfs/umapfs/umap_vfsops.c: revision 1.95
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186
sys/compat/common/uipc_syscalls_43.c: revision 1.46
sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115
sys/fs/puffs/puffs_msgif.c: revision 1.97
sys/compat/svr4/svr4_ipc.c: revision 1.27
sys/compat/linux/common/linux_exec.c: revision 1.117
sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66
sys/netinet/tcp_output.c: revision 1.179
sys/compat/svr4/svr4_termios.c: revision 1.28
sys/fs/udf/udf_strat_bootstrap.c: revision 1.4
sys/fs/puffs/puffs_subr.c: revision 1.67
sys/fs/puffs/puffs_node.c: revision 1.36
sys/miscfs/overlay/overlay_vnops.c: revision 1.21
sys/fs/cd9660/cd9660_node.c: revision 1.34
sys/netinet/raw_ip.c: revision 1.146
sys/sys/mallocvar.h: revision 1.13
sys/miscfs/overlay/overlay_vfsops.c: revision 1.63
share/man/man9/malloc.9: revision 1.50
sys/netinet6/dest6.c: revision 1.18
sys/compat/linux/common/linux_uselib.c: revision 1.33
sys/compat/linux/common/linux_socket.c: revision 1.120
share/man/man9/malloc.9: revision 1.51
sys/netinet/tcp_subr.c: revision 1.257
sys/compat/linux/common/linux_socketcall.c: revision 1.45
sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3
sys/compat/freebsd/freebsd_ipc.c: revision 1.17
sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109
sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17
sys/netinet6/in6_pcb.c: revision 1.132
sys/netinet6/in6_ifattach.c: revision 1.94
sys/compat/svr4/svr4_exec_elf32.c: revision 1.15
sys/miscfs/nullfs/null_vfsops.c: revision 1.90
sys/fs/cd9660/cd9660_util.c: revision 1.12
sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48
sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20
sys/miscfs/procfs/procfs_vfsops.c: revision 1.94
sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28
sys/compat/linux/common/linux_sched.c: revision 1.67
sys/compat/linux/common/linux_exec_aout.c: revision 1.67
sys/compat/linux/common/linux_pipe.c: revision 1.67
sys/compat/linux/common/linux_llseek.c: revision 1.34
sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10
Do not uselessly include <sys/malloc.h>.
Cleanup:
- remove struct kmembuckets (dead)
- correctly deadify MALLOC_XX
- remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead)
- remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT()
and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc
New sentence, new line. Bump date for previous.
Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9)
man pages.
 1.54.6.1  10-Jun-2019  christos Sync with HEAD
 1.54.4.1  20-Oct-2018  pgoyette Sync with head

RSS XML Feed