Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Update a comment.



details:   https://anonhg.NetBSD.org/src/rev/10684df8b3c1
branches:  trunk
changeset: 848284:10684df8b3c1
user:      ad <ad%NetBSD.org@localhost>
date:      Thu Jan 23 12:35:23 2020 +0000

description:
Update a comment.

diffstat:

 sys/kern/kern_mutex.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r b03e34b48a6d -r 10684df8b3c1 sys/kern/kern_mutex.c
--- a/sys/kern/kern_mutex.c     Thu Jan 23 11:59:37 2020 +0000
+++ b/sys/kern/kern_mutex.c     Thu Jan 23 12:35:23 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_mutex.c,v 1.88 2020/01/07 13:44:23 ad Exp $       */
+/*     $NetBSD: kern_mutex.c,v 1.89 2020/01/23 12:35:23 ad Exp $       */
 
 /*-
  * Copyright (c) 2002, 2006, 2007, 2008, 2019 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 #define        __MUTEX_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.88 2020/01/07 13:44:23 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.89 2020/01/23 12:35:23 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -846,7 +846,8 @@
  * mutex_owner_running:
  *
  *     Return true if an adaptive mutex is unheld, or held and the owner is
- *     running on a CPU.  For the pagedaemon.
+ *     running on a CPU.  For the pagedaemon only - do not document or use
+ *     in other code.
  */
 bool
 mutex_owner_running(const kmutex_t *mtx)



Home | Main Index | Thread Index | Old Index