Source-Changes-HG archive

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

[src/trunk]: src/sys/kern update comments



details:   https://anonhg.NetBSD.org/src/rev/cbc5227ce2ea
branches:  trunk
changeset: 785251:cbc5227ce2ea
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Mar 06 11:20:10 2013 +0000

description:
update comments

diffstat:

 sys/kern/subr_vmem.c |  14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)

diffs (42 lines):

diff -r 84b4f44d044c -r cbc5227ce2ea sys/kern/subr_vmem.c
--- a/sys/kern/subr_vmem.c      Wed Mar 06 11:19:08 2013 +0000
+++ b/sys/kern/subr_vmem.c      Wed Mar 06 11:20:10 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_vmem.c,v 1.82 2013/02/09 00:31:21 christos Exp $  */
+/*     $NetBSD: subr_vmem.c,v 1.83 2013/03/06 11:20:10 yamt Exp $      */
 
 /*-
  * Copyright (c)2006,2007,2008,2009 YAMAMOTO Takashi,
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_vmem.c,v 1.82 2013/02/09 00:31:21 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_vmem.c,v 1.83 2013/03/06 11:20:10 yamt Exp $");
 
 #if defined(_KERNEL)
 #include "opt_ddb.h"
@@ -988,10 +988,7 @@
 }
 
 /*
- * vmem_alloc:
- *
- * => caller must ensure appropriate spl,
- *    if the arena can be accessed from interrupt context.
+ * vmem_alloc: allocate resource from the arena.
  */
 
 int
@@ -1221,10 +1218,7 @@
 }
 
 /*
- * vmem_free:
- *
- * => caller must ensure appropriate spl,
- *    if the arena can be accessed from interrupt context.
+ * vmem_free: free the resource to the arena.
  */
 
 void



Home | Main Index | Thread Index | Old Index