Source-Changes-HG archive

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

[src/trunk]: src/sys/arch add missing pmap_update().



details:   https://anonhg.NetBSD.org/src/rev/2e642a6eb948
branches:  trunk
changeset: 514004:2e642a6eb948
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Aug 19 18:09:20 2001 +0000

description:
add missing pmap_update().

diffstat:

 sys/arch/amiga/amiga/vm_machdep.c     |  4 ++--
 sys/arch/atari/atari/vm_machdep.c     |  4 ++--
 sys/arch/cesfic/cesfic/vm_machdep.c   |  4 ++--
 sys/arch/luna68k/luna68k/vm_machdep.c |  8 ++++----
 sys/arch/mips/mips/vm_machdep.c       |  5 +++--
 sys/arch/mvme68k/mvme68k/vm_machdep.c |  4 ++--
 sys/arch/powerpc/powerpc/vm_machdep.c |  3 ++-
 sys/arch/x86_64/x86_64/vm_machdep.c   |  3 ++-
 8 files changed, 19 insertions(+), 16 deletions(-)

diffs (166 lines):

diff -r ad265c2936b7 -r 2e642a6eb948 sys/arch/amiga/amiga/vm_machdep.c
--- a/sys/arch/amiga/amiga/vm_machdep.c Sun Aug 19 18:08:30 2001 +0000
+++ b/sys/arch/amiga/amiga/vm_machdep.c Sun Aug 19 18:09:20 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.59 2001/08/04 07:44:52 chs Exp $      */
+/*     $NetBSD: vm_machdep.c,v 1.60 2001/08/19 18:09:20 chs Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -379,8 +379,8 @@
        kva = m68k_trunc_page(bp->b_data);
        off = (vaddr_t)bp->b_data - kva;
        len = m68k_round_page(off + len);
-
        pmap_kremove(kva, len);
+       pmap_update();
        uvm_km_free_wakeup(phys_map, kva, len);
        bp->b_data = bp->b_saveaddr;
        bp->b_saveaddr = 0;
diff -r ad265c2936b7 -r 2e642a6eb948 sys/arch/atari/atari/vm_machdep.c
--- a/sys/arch/atari/atari/vm_machdep.c Sun Aug 19 18:08:30 2001 +0000
+++ b/sys/arch/atari/atari/vm_machdep.c Sun Aug 19 18:09:20 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.37 2001/08/04 07:45:42 chs Exp $      */
+/*     $NetBSD: vm_machdep.c,v 1.38 2001/08/19 18:09:21 chs Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -377,8 +377,8 @@
        kva = m68k_trunc_page(bp->b_data);
        off = (vm_offset_t)bp->b_data - kva;
        len = m68k_round_page(off + len);
-
        pmap_kremove(kva, len);
+       pmap_update();
        uvm_km_free_wakeup(phys_map, kva, len);
        bp->b_data = bp->b_saveaddr;
        bp->b_saveaddr = 0;
diff -r ad265c2936b7 -r 2e642a6eb948 sys/arch/cesfic/cesfic/vm_machdep.c
--- a/sys/arch/cesfic/cesfic/vm_machdep.c       Sun Aug 19 18:08:30 2001 +0000
+++ b/sys/arch/cesfic/cesfic/vm_machdep.c       Sun Aug 19 18:09:20 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.5 2001/08/19 17:33:10 chs Exp $       */
+/*     $NetBSD: vm_machdep.c,v 1.6 2001/08/19 18:09:21 chs Exp $       */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -340,8 +340,8 @@
        kva = m68k_trunc_page(bp->b_data);
        off = (vaddr_t)bp->b_data - kva;
        len = m68k_round_page(off + len);
-
        pmap_kremove(kva, len);
+       pmap_update();
        uvm_km_free_wakeup(phys_map, kva, len);
        bp->b_data = bp->b_saveaddr;
        bp->b_saveaddr = 0;
diff -r ad265c2936b7 -r 2e642a6eb948 sys/arch/luna68k/luna68k/vm_machdep.c
--- a/sys/arch/luna68k/luna68k/vm_machdep.c     Sun Aug 19 18:08:30 2001 +0000
+++ b/sys/arch/luna68k/luna68k/vm_machdep.c     Sun Aug 19 18:09:20 2001 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: vm_machdep.c,v 1.8 2001/08/04 07:46:22 chs Exp $ */
-/*     $NetBSD: vm_machdep.c,v 1.8 2001/08/04 07:46:22 chs Exp $       */
+/* $NetBSD: vm_machdep.c,v 1.9 2001/08/19 18:09:21 chs Exp $ */
+/*     $NetBSD: vm_machdep.c,v 1.9 2001/08/19 18:09:21 chs Exp $       */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.8 2001/08/04 07:46:22 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.9 2001/08/19 18:09:21 chs Exp $");
 
 #include "opt_compat_hpux.h"
 
@@ -350,8 +350,8 @@
        kva = m68k_trunc_page(bp->b_data);
        off = (vaddr_t)bp->b_data - kva;
        len = m68k_round_page(off + len);
-
        pmap_kremove(kva, len);
+       pmap_update();
        uvm_km_free_wakeup(phys_map, kva, len);
        bp->b_data = bp->b_saveaddr;
        bp->b_saveaddr = 0;
diff -r ad265c2936b7 -r 2e642a6eb948 sys/arch/mips/mips/vm_machdep.c
--- a/sys/arch/mips/mips/vm_machdep.c   Sun Aug 19 18:08:30 2001 +0000
+++ b/sys/arch/mips/mips/vm_machdep.c   Sun Aug 19 18:09:20 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.81 2001/08/04 04:28:49 chs Exp $      */
+/*     $NetBSD: vm_machdep.c,v 1.82 2001/08/19 18:09:22 chs Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -45,7 +45,7 @@
 #include "opt_ddb.h"
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.81 2001/08/04 04:28:49 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.82 2001/08/19 18:09:22 chs Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -332,6 +332,7 @@
        off = (vaddr_t)bp->b_data - addr;
        len = round_page(off + len);
        pmap_remove(pmap_kernel(), addr, addr + len);
+       pmap_update();
        uvm_km_free_wakeup(phys_map, addr, len);
        bp->b_data = bp->b_saveaddr;
        bp->b_saveaddr = NULL;
diff -r ad265c2936b7 -r 2e642a6eb948 sys/arch/mvme68k/mvme68k/vm_machdep.c
--- a/sys/arch/mvme68k/mvme68k/vm_machdep.c     Sun Aug 19 18:08:30 2001 +0000
+++ b/sys/arch/mvme68k/mvme68k/vm_machdep.c     Sun Aug 19 18:09:20 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.40 2001/08/19 17:34:49 chs Exp $      */
+/*     $NetBSD: vm_machdep.c,v 1.41 2001/08/19 18:09:22 chs Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -303,8 +303,8 @@
        kva = m68k_trunc_page(bp->b_data);
        off = (vaddr_t)bp->b_data - kva;
        len = m68k_round_page(off + len);
-
        pmap_kremove(kva, len);
+       pmap_update();
        uvm_km_free_wakeup(phys_map, kva, len);
        bp->b_data = bp->b_saveaddr;
        bp->b_saveaddr = 0;
diff -r ad265c2936b7 -r 2e642a6eb948 sys/arch/powerpc/powerpc/vm_machdep.c
--- a/sys/arch/powerpc/powerpc/vm_machdep.c     Sun Aug 19 18:08:30 2001 +0000
+++ b/sys/arch/powerpc/powerpc/vm_machdep.c     Sun Aug 19 18:09:20 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.34 2001/08/04 07:42:07 chs Exp $      */
+/*     $NetBSD: vm_machdep.c,v 1.35 2001/08/19 18:09:22 chs Exp $      */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -391,6 +391,7 @@
        off = (vaddr_t)bp->b_data - addr;
        len = round_page(off + len);
        pmap_kremove(addr, len);
+       pmap_update();
        uvm_km_free_wakeup(phys_map, addr, len);
        bp->b_data = bp->b_saveaddr;
        bp->b_saveaddr = 0;
diff -r ad265c2936b7 -r 2e642a6eb948 sys/arch/x86_64/x86_64/vm_machdep.c
--- a/sys/arch/x86_64/x86_64/vm_machdep.c       Sun Aug 19 18:08:30 2001 +0000
+++ b/sys/arch/x86_64/x86_64/vm_machdep.c       Sun Aug 19 18:09:20 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.1 2001/06/19 00:21:18 fvdl Exp $      */
+/*     $NetBSD: vm_machdep.c,v 1.2 2001/08/19 18:09:23 chs Exp $       */
 
 /*-
  * Copyright (c) 1995 Charles M. Hannum.  All rights reserved.
@@ -391,6 +391,7 @@
        off = (vaddr_t)bp->b_data - addr;
        len = round_page(off + len);
        pmap_kremove(addr, len);
+       pmap_update();
        uvm_km_free_wakeup(phys_map, addr, len);
        bp->b_data = bp->b_saveaddr;
        bp->b_saveaddr = 0;



Home | Main Index | Thread Index | Old Index