Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Indent comment to match code it's describing
details: https://anonhg.NetBSD.org/src/rev/08956802e722
branches: trunk
changeset: 353771:08956802e722
user: skrll <skrll%NetBSD.org@localhost>
date: Mon May 22 06:35:04 2017 +0000
description:
Indent comment to match code it's describing
diffstat:
sys/arch/arm/arm32/pmap.c | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diffs (41 lines):
diff -r 1fc79b41317b -r 08956802e722 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Mon May 22 04:40:23 2017 +0000
+++ b/sys/arch/arm/arm32/pmap.c Mon May 22 06:35:04 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.346 2017/05/21 07:06:51 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.347 2017/05/22 06:35:04 skrll Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -217,7 +217,7 @@
#include <arm/locore.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.346 2017/05/21 07:06:51 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.347 2017/05/22 06:35:04 skrll Exp $");
//#define PMAP_DEBUG
#ifdef PMAP_DEBUG
@@ -4833,14 +4833,15 @@
pmap_t rpm = ci->ci_pmap_lastuser;
#endif
-/*
- * XXXSCW: There's a corner case here which can leave turds in the cache as
- * reported in kern/41058. They're probably left over during tear-down and
- * switching away from an exiting process. Until the root cause is identified
- * and fixed, zap the cache when switching pmaps. This will result in a few
- * unnecessary cache flushes, but that's better than silently corrupting data.
- */
#ifndef ARM_MMU_EXTENDED
+ /*
+ * XXXSCW: There's a corner case here which can leave turds in the
+ * cache as reported in kern/41058. They're probably left over during
+ * tear-down and switching away from an exiting process. Until the root
+ * cause is identified and fixed, zap the cache when switching pmaps.
+ * This will result in a few unnecessary cache flushes, but that's
+ * better than silently corrupting data.
+ */
#if 0
if (npm != pmap_kernel() && rpm && npm != rpm &&
rpm->pm_cstate.cs_cache) {
Home |
Main Index |
Thread Index |
Old Index