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/atari/atari pullup 1.43->1.44 (chuq)



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

description:
pullup 1.43->1.44 (chuq)

diffstat:

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

diffs (29 lines):

diff -r 5955dd05d6b1 -r beb950b0fd2e sys/arch/atari/atari/pmap.c
--- a/sys/arch/atari/atari/pmap.c       Mon Apr 26 14:42:26 1999 +0000
+++ b/sys/arch/atari/atari/pmap.c       Mon Apr 26 14:43:37 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.43 1999/03/27 03:37:51 mycroft Exp $        */
+/*     $NetBSD: pmap.c,v 1.43.2.1 1999/04/26 14:43:37 perry Exp $      */
 
 /* 
  * Copyright (c) 1991 Regents of the University of California.
@@ -1946,15 +1946,14 @@
                }
 #endif
                /*
-                * Mark it unmodified to avoid pageout
+                * page is unused, free it now!
                 */
-               pmap_changebit(pa, PG_M, FALSE);
+               pmap_remove(pv->pv_pmap, pv->pv_va, pv->pv_va + NBPG);
+               uvm_pagefree(PHYS_TO_VM_PAGE(pa));
 #ifdef DEBUG
                if (pmapdebug & PDB_PTPAGE)
-                       printf("pmap_pageable: PT page %lx(%x) unmodified\n",
+                       printf("pmap_pageable: PT page %lx(%x) freed\n",
                               sva, *(int *)pmap_pte(pmap, sva));
-               if (pmapdebug & PDB_WIRING)
-                       pmap_check_wiring("pageable", sva);
 #endif
        }
 }



Home | Main Index | Thread Index | Old Index