summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2009-01-15 23:03:27 +0000
committergonzo <gonzo@FreeBSD.org>2009-01-15 23:03:27 +0000
commitf1c7376075980a8a81f9f83e35d2cb6b1e93b992 (patch)
tree7790b669cde796ee7d4a31542206bafd32a84d8b /sys/mips
parenta87c2b478979b707678edde6aafde01157c4aad2 (diff)
downloadFreeBSD-src-f1c7376075980a8a81f9f83e35d2cb6b1e93b992.zip
FreeBSD-src-f1c7376075980a8a81f9f83e35d2cb6b1e93b992.tar.gz
- pmap_track_modified was retired in r178606. Reintroducing it was a mistake.
Spotted by: alc@
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/pmap.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c
index 8212aa3..082cac1 100644
--- a/sys/mips/mips/pmap.c
+++ b/sys/mips/mips/pmap.c
@@ -490,25 +490,6 @@ pmap_nw_modified(pt_entry_t pte)
#endif
-
-/*
- * this routine defines the region(s) of memory that should
- * not be tested for the modified bit.
- */
-static PMAP_INLINE int
-pmap_track_modified(vm_offset_t va)
-{
- /*
- * Kernel submap initialization has been moved for MD to MI code. ie
- * from cpu_startup() to vm_ksubmap_init(). clean_sva and clean_eva
- * are part of the kmi structure.
- */
- if ((va < kmi.clean_sva) || (va >= kmi.clean_eva))
- return (1);
- else
- return (0);
-}
-
static void
pmap_invalidate_all(pmap_t pmap)
{
@@ -1444,8 +1425,7 @@ pmap_remove_pte(struct pmap *pmap, pt_entry_t *ptq, vm_offset_t va)
va, oldpte);
}
#endif
- if (pmap_track_modified(va))
- vm_page_dirty(m);
+ vm_page_dirty(m);
}
if (m->md.pv_flags & PV_TABLE_REF)
vm_page_flag_set(m, PG_REFERENCED);
OpenPOWER on IntegriCloud