Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap Improve a comment



details:   https://anonhg.NetBSD.org/src/rev/c0eead792494
branches:  trunk
changeset: 823430:c0eead792494
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Apr 22 20:20:19 2017 +0000

description:
Improve a comment

diffstat:

 sys/uvm/pmap/pmap.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r cb4608c76cef -r c0eead792494 sys/uvm/pmap/pmap.c
--- a/sys/uvm/pmap/pmap.c       Sat Apr 22 20:19:53 2017 +0000
+++ b/sys/uvm/pmap/pmap.c       Sat Apr 22 20:20:19 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.29 2017/04/22 20:19:53 skrll Exp $  */
+/*     $NetBSD: pmap.c,v 1.30 2017/04/22 20:20:19 skrll Exp $  */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.29 2017/04/22 20:19:53 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.30 2017/04/22 20:20:19 skrll Exp $");
 
 /*
  *     Manages physical address maps.
@@ -1732,8 +1732,8 @@
 #endif
                }
 #ifdef PMAP_VIRTUAL_CACHE_ALIASES
-               // Assert there if there more than 1 color mapped, that they
-               // are uncached.
+               // Assert that if there is more than 1 color mapped, that the
+               // page is uncached.
                KASSERTMSG(!pmap_md_virtual_cache_aliasing_p()
                    || colors == 0 || (colors & (colors-1)) == 0
                    || VM_PAGEMD_UNCACHED_P(mdpg), "colors=%#x uncached=%u",



Home | Main Index | Thread Index | Old Index