Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/ad-namecache]: src/sys/kern Fix a comment.
details: https://anonhg.NetBSD.org/src/rev/8f4574c34215
branches: ad-namecache
changeset: 982979:8f4574c34215
user: ad <ad%NetBSD.org@localhost>
date: Wed Jan 08 21:55:10 2020 +0000
description:
Fix a comment.
diffstat:
sys/kern/vfs_cache.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bff42b15679e -r 8f4574c34215 sys/kern/vfs_cache.c
--- a/sys/kern/vfs_cache.c Wed Jan 08 11:44:30 2020 +0000
+++ b/sys/kern/vfs_cache.c Wed Jan 08 21:55:10 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_cache.c,v 1.126.2.2 2020/01/08 11:44:30 ad Exp $ */
+/* $NetBSD: vfs_cache.c,v 1.126.2.3 2020/01/08 21:55:10 ad Exp $ */
/*-
* Copyright (c) 2008, 2019 The NetBSD Foundation, Inc.
@@ -149,7 +149,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.126.2.2 2020/01/08 11:44:30 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.126.2.3 2020/01/08 21:55:10 ad Exp $");
#define __NAMECACHE_PRIVATE
#ifdef _KERNEL_OPT
@@ -333,7 +333,7 @@
KASSERT(ncp->nc_dvp == dvp);
/*
* Avoid false sharing: don't write back to nc_hittime
- * unless it has changed within the last 32 ticks.
+ * unless changed significantly.
*/
if (((ncp->nc_hittime ^ hardclock_ticks) & ~31) != 0) {
ncp->nc_hittime = hardclock_ticks;
Home |
Main Index |
Thread Index |
Old Index