diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-09-29 17:39:21 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-09-29 17:39:21 +0000 |
commit | 806da45d7d8197139313fc30ac4081a676ef8e94 (patch) | |
tree | 9b71f1e945cd7af5cc27699cba9b2995e8b4e039 /sys/arch/mips64 | |
parent | d9d417ee3e6830bd27b1568163665c7e37b43c63 (diff) |
move cache syncing for now. delayed sync needs more debug
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r-- | sys/arch/mips64/mips64/pmap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/mips64/mips64/pmap.c b/sys/arch/mips64/mips64/pmap.c index b4387059f03..6408ec9e621 100644 --- a/sys/arch/mips64/mips64/pmap.c +++ b/sys/arch/mips64/mips64/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.14 2004/09/27 17:40:24 pefo Exp $ */ +/* $OpenBSD: pmap.c,v 1.15 2004/09/29 17:39:20 pefo Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -1253,8 +1253,6 @@ pmap_enter_pv(pmap_t pmap, vaddr_t va, vm_page_t pg, u_int *npte) stat_count(enter_stats.firstpv); - Mips_SyncDCachePage(pv->pv_va); - pv->pv_va = va; pv->pv_flags = PV_CACHED; pv->pv_pmap = pmap; @@ -1353,6 +1351,7 @@ pmap_remove_pv(pmap_t pmap, vaddr_t va, paddr_t pa) pmap_pv_free(npv); } else { pv->pv_pmap = NULL; + Mips_SyncDCachePage(pv->pv_va); } stat_count(remove_stats.pvfirst); } else { |