Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 I like riastradh's kmem/pool explanation.



details:   https://anonhg.NetBSD.org/src/rev/572aae5a6b6d
branches:  trunk
changeset: 329511:572aae5a6b6d
user:      christos <christos%NetBSD.org@localhost>
date:      Tue May 27 17:05:44 2014 +0000

description:
I like riastradh's kmem/pool explanation.

diffstat:

 share/man/man9/malloc.9 |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 3706564f9008 -r 572aae5a6b6d share/man/man9/malloc.9
--- a/share/man/man9/malloc.9   Tue May 27 16:50:31 2014 +0000
+++ b/share/man/man9/malloc.9   Tue May 27 17:05:44 2014 +0000
@@ -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



Home | Main Index | Thread Index | Old Index