add missing pmap_update().

This commit is contained in:
chs 2001-08-19 18:09:20 +00:00
parent 72b6b0b123
commit c489e9bff4
8 changed files with 19 additions and 16 deletions

View File

@ -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 @@ vunmapbuf(bp, len)
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;

View File

@ -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 @@ vunmapbuf(bp, len)
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;

View File

@ -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 @@ vunmapbuf(bp, len)
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;

View File

@ -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 @@ vunmapbuf(bp, len)
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;

View File

@ -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 @@ vunmapbuf(bp, len)
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;

View File

@ -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 @@ vunmapbuf(bp, len)
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;

View File

@ -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 @@ vunmapbuf(bp, len)
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;

View File

@ -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 @@ vunmapbuf(bp, len)
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;