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/x68k/x68k pullup 1.31->1.32 (chuq)



details:   https://anonhg.NetBSD.org/src/rev/ff9d13da26c1
branches:  netbsd-1-4
changeset: 468462:ff9d13da26c1
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Apr 26 14:48:48 1999 +0000

description:
pullup 1.31->1.32 (chuq)

diffstat:

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

diffs (35 lines):

diff -r 218925d60511 -r ff9d13da26c1 sys/arch/x68k/x68k/pmap.c
--- a/sys/arch/x68k/x68k/pmap.c Mon Apr 26 14:48:36 1999 +0000
+++ b/sys/arch/x68k/x68k/pmap.c Mon Apr 26 14:48:48 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.31 1999/03/27 05:57:06 mycroft Exp $        */
+/*     $NetBSD: pmap.c,v 1.31.2.1 1999/04/26 14:48:48 perry Exp $      */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -1831,20 +1831,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