Don't flush the cache in setpte4m(). Most callers have flushed the page

already and some MMUs might require a valid mapping to exist for the
virtual address to be flushed.
This commit is contained in:
pk 1997-08-04 20:09:54 +00:00
parent 3ffd287cc0
commit 8f937196fb
1 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.92 1997/08/04 20:02:59 pk Exp $ */
/* $NetBSD: pmap.c,v 1.93 1997/08/04 20:09:54 pk Exp $ */
/*
* Copyright (c) 1996
@ -648,11 +648,9 @@ setpte4m(va, pte)
register struct segmap *sm;
register union ctxinfo *c;
cache_flush_page(va);
/*
* Now walk tables to find pte. We use ctxinfo to locate the pmap
* from the current context
* Walk tables to find pte. We use ctxinfo to locate the pmap
* from the current context.
*/
#if 0
#ifdef DEBUG