diff options
author | cognet <cognet@FreeBSD.org> | 2005-05-26 15:01:13 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2005-05-26 15:01:13 +0000 |
commit | 3d22dfba0809585edae8c428b8150e4210709b8e (patch) | |
tree | 8b5ff96522300975d2a51f928f0b1090264ffe12 /sys/arm | |
parent | 1752550f9208477d8709c6b1c90723872257693f (diff) | |
download | FreeBSD-src-3d22dfba0809585edae8c428b8150e4210709b8e.zip FreeBSD-src-3d22dfba0809585edae8c428b8150e4210709b8e.tar.gz |
Don't call vm_page_dirty() in pmap_nuke_pv(), it's not the place to do so, and
it leads to funny things, such as pmap_remove_all() marking the page as dirty.
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/arm/pmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c index c3ab3e0..a6eee88 100644 --- a/sys/arm/arm/pmap.c +++ b/sys/arm/arm/pmap.c @@ -1816,8 +1816,7 @@ pmap_nuke_pv(struct vm_page *pg, pmap_t pm, struct pv_entry *pve) if (TAILQ_FIRST(&pg->md.pv_list) == NULL) pg->md.pvh_attrs &= ~PVF_REF; vm_page_flag_clear(pg, PG_WRITEABLE); - } else if (pmap_track_modified(pve->pv_va)) - vm_page_dirty(pg); + } if (TAILQ_FIRST(&pg->md.pv_list)) vm_page_flag_set(pg, PG_REFERENCED); if (pve->pv_flags & PVF_WRITE) |