diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-02-01 10:34:33 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-02-01 10:34:33 +0000 |
commit | fbc9eda1a3581af19c8ef1d8a1396a25cce77da7 (patch) | |
tree | 2dcfd42e3c7cd500884c4875027078be54813026 /sys/arch/sparc | |
parent | fa3cba99f3abd3a4765616a3ea8f2638fc8dccae (diff) |
Opps. Missed two cases of ps_alias_recache.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/pmap.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |