Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/hp300/hp300 pullup 1.72->1.73 (chuq)



details:   https://anonhg.NetBSD.org/src/rev/9b0f2802d253
branches:  netbsd-1-4
changeset: 468458:9b0f2802d253
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Apr 26 14:44:06 1999 +0000

description:
pullup 1.72->1.73 (chuq)

diffstat:

 sys/arch/hp300/hp300/pmap.c |  17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

diffs (35 lines):

diff -r beb950b0fd2e -r 9b0f2802d253 sys/arch/hp300/hp300/pmap.c
--- a/sys/arch/hp300/hp300/pmap.c       Mon Apr 26 14:43:37 1999 +0000
+++ b/sys/arch/hp300/hp300/pmap.c       Mon Apr 26 14:44:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.72 1999/04/01 20:50:52 drochner Exp $       */
+/*     $NetBSD: pmap.c,v 1.72.2.1 1999/04/26 14:44:06 perry Exp $      */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -1848,20 +1848,15 @@
                }
 #endif
                /*
-                * Mark it unmodified to avoid pageout
+                * page is unused, free it now!
                 */
-               pmap_changebit(pa, 0, ~PG_M);
+               pmap_remove_mapping(pv->pv_pmap, pv->pv_va,
+                                   NULL, PRM_TFLUSH|PRM_CFLUSH);
+               uvm_pagefree(PHYS_TO_VM_PAGE(pa));
 #ifdef DEBUG
-               if ((PHYS_TO_VM_PAGE(pa)->flags & PG_CLEAN) == 0) {
-                       printf("pa %lx: flags=%x: not clean\n",
-                              pa, PHYS_TO_VM_PAGE(pa)->flags);
-                       PHYS_TO_VM_PAGE(pa)->flags |= PG_CLEAN;
-               }
                if (pmapdebug & PDB_PTPAGE)
-                       printf("pmap_pageable: PT page %lx(%x) unmodified\n",
+                       printf("pmap_pageable: PT page %lx(%x) freed\n",
                               sva, *pmap_pte(pmap, sva));
-               if (pmapdebug & PDB_WIRING)
-                       pmap_check_wiring("pageable", sva);
 #endif
        }
 }



Home | Main Index | Thread Index | Old Index