Source-Changes-HG archive

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

[src/trunk]: src/sys/arch fix a comment that has been c&p'ed around and not u...



details:   https://anonhg.NetBSD.org/src/rev/2ab7ac4f447c
branches:  trunk
changeset: 954047:2ab7ac4f447c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Mar 28 10:29:05 2021 +0000

description:
fix a comment that has been c&p'ed around and not updated

diffstat:

 sys/arch/aarch64/aarch64/vm_machdep.c |  8 ++++----
 sys/arch/arm/arm32/vm_machdep.c       |  8 ++++----
 sys/arch/x86/x86/vm_machdep.c         |  8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

diffs (87 lines):

diff -r 4029e4c46c73 -r 2ab7ac4f447c sys/arch/aarch64/aarch64/vm_machdep.c
--- a/sys/arch/aarch64/aarch64/vm_machdep.c     Sun Mar 28 10:09:34 2021 +0000
+++ b/sys/arch/aarch64/aarch64/vm_machdep.c     Sun Mar 28 10:29:05 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.10 2021/03/01 11:37:31 jmcneill Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.11 2021/03/28 10:29:05 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #include "opt_ddb.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.10 2021/03/01 11:37:31 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.11 2021/03/28 10:29:05 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -227,8 +227,8 @@
        bp->b_data = (void *)(taddr + off);
 
        /*
-        * The region is locked, so we expect that pmap_pte() will return
-        * non-NULL.
+        * The region is locked, so we expect that pmap_extract() will return
+        * true.
         */
        while (len) {
                (void)pmap_extract(vm_map_pmap(&bp->b_proc->p_vmspace->vm_map),
diff -r 4029e4c46c73 -r 2ab7ac4f447c sys/arch/arm/arm32/vm_machdep.c
--- a/sys/arch/arm/arm32/vm_machdep.c   Sun Mar 28 10:09:34 2021 +0000
+++ b/sys/arch/arm/arm32/vm_machdep.c   Sun Mar 28 10:29:05 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.77 2020/06/20 07:10:36 skrll Exp $    */
+/*     $NetBSD: vm_machdep.c,v 1.78 2021/03/28 10:29:05 skrll Exp $    */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.77 2020/06/20 07:10:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.78 2021/03/28 10:29:05 skrll Exp $");
 
 #include "opt_armfpe.h"
 #include "opt_cputypes.h"
@@ -223,8 +223,8 @@
        bp->b_data = (void *)(taddr + off);
 
        /*
-        * The region is locked, so we expect that pmap_pte() will return
-        * non-NULL.
+        * The region is locked, so we expect that pmap_extract() will return
+        * true.
         */
        while (len) {
                (void) pmap_extract(pm, faddr, &fpa);
diff -r 4029e4c46c73 -r 2ab7ac4f447c sys/arch/x86/x86/vm_machdep.c
--- a/sys/arch/x86/x86/vm_machdep.c     Sun Mar 28 10:09:34 2021 +0000
+++ b/sys/arch/x86/x86/vm_machdep.c     Sun Mar 28 10:29:05 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.44 2020/11/30 05:33:32 msaitoh Exp $  */
+/*     $NetBSD: vm_machdep.c,v 1.45 2021/03/28 10:29:05 skrll Exp $    */
 
 /*-
  * Copyright (c) 1982, 1986 The Regents of the University of California.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.44 2020/11/30 05:33:32 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.45 2021/03/28 10:29:05 skrll Exp $");
 
 #include "opt_mtrr.h"
 
@@ -304,8 +304,8 @@
        taddr = uvm_km_alloc(phys_map, len, 0, UVM_KMF_VAONLY | UVM_KMF_WAITVA);
        bp->b_data = (void *)(taddr + off);
        /*
-        * The region is locked, so we expect that pmap_pte() will return
-        * non-NULL.
+        * The region is locked, so we expect that pmap_extract() will return
+        * true.
         * XXX: unwise to expect this in a multithreaded environment.
         * anything can happen to a pmap between the time we lock a
         * region, release the pmap lock, and then relock it for



Home | Main Index | Thread Index | Old Index