Module Name:    src
Committed By:   rmind
Date:           Fri Apr 23 16:24:05 UTC 2010

Modified Files:
        src/share/man/man9: kmem.9

Log Message:
Mention that kmem_free(9) may block, just in a case it is not clear.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man9/kmem.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/kmem.9
diff -u src/share/man/man9/kmem.9:1.7 src/share/man/man9/kmem.9:1.8
--- src/share/man/man9/kmem.9:1.7	Sat Feb 13 07:44:11 2010
+++ src/share/man/man9/kmem.9	Fri Apr 23 16:24:04 2010
@@ -1,4 +1,4 @@
-.\"	$NetBSD: kmem.9,v 1.7 2010/02/13 07:44:11 wiz Exp $
+.\"	$NetBSD: kmem.9,v 1.8 2010/04/23 16:24:04 rmind Exp $
 .\"
 .\" Copyright (c)2006 YAMAMOTO Takashi,
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\" ------------------------------------------------------------
-.Dd February 11, 2010
+.Dd April 23, 2010
 .Dt KMEM 9
 .Os
 .\" ------------------------------------------------------------
@@ -144,6 +144,9 @@
 allocation.
 This can in turn block other threads that wish to acquire locks held by the
 caller.
+It should be noted that
+.Fn kmem_free
+may also block.
 .Pp
 For some locks this is permissible or even unavoidable.
 For others, particularly locks that may be taken from soft interrupt context,
@@ -263,8 +266,11 @@
 .Xr pool_cache 9
 .\" ------------------------------------------------------------
 .Sh CAVEATS
+Neither
 .Fn kmem_alloc
-cannot be used from interrupt context, from a soft interrupt, or from
+nor
+.Fn kmem_free
+can be used from interrupt context, from a soft interrupt, or from
 a callout.
 Use
 .Xr pool_cache 9

Reply via email to