diff options
-rw-r--r-- | sys/alpha/alpha/pmap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c index c8624cd..45ab2dd 100644 --- a/sys/alpha/alpha/pmap.c +++ b/sys/alpha/alpha/pmap.c @@ -2227,6 +2227,10 @@ pmap_remove_pages(pmap, sva, eva) pv->pv_pmap->pm_stats.resident_count--; + if ((tpte & PG_FOW) == 0) + if (pmap_track_modified(pv->pv_va)) + vm_page_dirty(m); + npv = TAILQ_NEXT(pv, pv_plist); TAILQ_REMOVE(&pv->pv_pmap->pm_pvlist, pv, pv_plist); |