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/next68k/next68k pullup 1.12->1.13 (chuq)



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

description:
pullup 1.12->1.13 (chuq)

diffstat:

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

diffs (35 lines):

diff -r 8a5e21f2e4fb -r 218925d60511 sys/arch/next68k/next68k/pmap.c
--- a/sys/arch/next68k/next68k/pmap.c   Mon Apr 26 14:47:21 1999 +0000
+++ b/sys/arch/next68k/next68k/pmap.c   Mon Apr 26 14:48:36 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.12 1999/03/27 05:57:05 mycroft Exp $        */
+/*     $NetBSD: pmap.c,v 1.12.2.1 1999/04/26 14:48:36 perry Exp $        */
 
 /*
  * This file was taken from mvme68k/mvme68k/pmap.c
@@ -1894,20 +1894,15 @@
                }
 #endif
                /*
-                * Mark it unmodified to avoid pageout
+                * page is unused, free it now!
                 */
-               pmap_changebit(pa, PG_M, FALSE);
+               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