Module Name: src Committed By: ad Date: Thu Jan 23 12:35:23 UTC 2020
Modified Files: src/sys/kern: kern_mutex.c Log Message: Update a comment. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/sys/kern/kern_mutex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_mutex.c diff -u src/sys/kern/kern_mutex.c:1.88 src/sys/kern/kern_mutex.c:1.89 --- src/sys/kern/kern_mutex.c:1.88 Tue Jan 7 13:44:23 2020 +++ src/sys/kern/kern_mutex.c Thu Jan 23 12:35:23 2020 @@ -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(const kmutex_t *mtx) * 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)