From fbc9eda1a3581af19c8ef1d8a1396a25cce77da7 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Tue, 1 Feb 2000 10:34:33 +0000 Subject: Opps. Missed two cases of ps_alias_recache. --- sys/arch/sparc/sparc/pmap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/arch/sparc') diff --git a/sys/arch/sparc/sparc/pmap.c b/sys/arch/sparc/sparc/pmap.c index 682eb7d15cb..e68eaeba339 100644 --- a/sys/arch/sparc/sparc/pmap.c +++ b/sys/arch/sparc/sparc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.71 2000/02/01 10:17:08 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.72 2000/02/01 10:34:32 art Exp $ */ /* $NetBSD: pmap.c,v 1.118 1998/05/19 19:00:18 thorpej Exp $ */ /* @@ -2161,6 +2161,8 @@ pv_unlink4_4c(pv, pm, va) * the REF and MOD flags. since pmap_is_modified() * can still be called for this page. */ + if (pv->pv_flags & PV_ANC) + pmap_stats.ps_alias_recache++; pv->pv_pmap = NULL; pv->pv_flags &= ~(PV_NC|PV_ANC); return; @@ -2464,6 +2466,8 @@ pv_unlink4m(pv, pm, va) * the REF and MOD flags. since pmap_is_modified() * can still be called for this page. */ + if (pv->pv_flags & PV_ANC) + pmap_stats.ps_alias_recache++; pv->pv_pmap = NULL; pv->pv_flags &= ~(PV_C4M|PV_ANC); return; -- cgit v1.2.3