Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/hppa Oops... revert commit mistake



details:   https://anonhg.NetBSD.org/src/rev/8ef0af73aa74
branches:  trunk
changeset: 366699:8ef0af73aa74
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Jun 09 16:41:25 2022 +0000

description:
Oops... revert commit mistake

diffstat:

 sys/arch/hppa/hppa/pmap.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r a54a4e5cf682 -r 8ef0af73aa74 sys/arch/hppa/hppa/pmap.c
--- a/sys/arch/hppa/hppa/pmap.c Thu Jun 09 16:38:23 2022 +0000
+++ b/sys/arch/hppa/hppa/pmap.c Thu Jun 09 16:41:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.118 2022/06/09 16:38:23 skrll Exp $ */
+/*     $NetBSD: pmap.c,v 1.119 2022/06/09 16:41:25 skrll Exp $ */
 
 /*-
  * Copyright (c) 2001, 2002, 2020 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.118 2022/06/09 16:38:23 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.119 2022/06/09 16:41:25 skrll Exp $");
 
 #include "opt_cputype.h"
 
@@ -1501,7 +1501,6 @@
                }
                batch = pdemask == sva && sva + PDE_SIZE <= eva;
 
-//XXXNH valid check?
                if ((pte = pmap_pte_get(pde, sva))) {
 
                        /* TODO measure here the speed tradeoff
@@ -1511,8 +1510,6 @@
                        pmap_pte_flush(pmap, sva, pte);
                        if (pte & PTE_PROT(TLB_WIRED))
                                pmap->pm_stats.wired_count--;
-
-//XXXNH move to pmap_pv_remove?
                        pmap->pm_stats.resident_count--;
 
                        /* iff properly accounted pde will be dropped anyway */



Home | Main Index | Thread Index | Old Index