Module Name: src
Committed By: christos
Date: Tue May 27 17:05:44 UTC 2014
Modified Files:
src/share/man/man9: malloc.9
Log Message:
I like riastradh's kmem/pool explanation.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/share/man/man9/malloc.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/malloc.9
diff -u src/share/man/man9/malloc.9:1.47 src/share/man/man9/malloc.9:1.48
--- src/share/man/man9/malloc.9:1.47 Mon Aug 3 15:57:40 2009
+++ src/share/man/man9/malloc.9 Tue May 27 13:05:44 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: malloc.9,v 1.47 2009/08/03 19:57:40 rmind Exp $
+.\" $NetBSD: malloc.9,v 1.48 2014/05/27 17:05:44 christos Exp $
.\"
.\" Copyright (c) 1996, 2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd December 29, 2008
+.Dd May 27, 2014
.Dt MALLOC 9
.Os
.Sh NAME
@@ -72,8 +72,9 @@
These interfaces are being obsoleted and their new use is discouraged.
For new code, use
.Xr kmem 9
-or
+for variable-sized or one-time allocations
.Xr pool_cache 9
+for frequent fixed-size allocations
instead.
.Ef
.Pp