svn commit: r187319 - head/sys/mips/mips
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Thu Jan 15 15:03:29 PST 2009
Author: gonzo
Date: Thu Jan 15 23:03:27 2009
New Revision: 187319
URL: http://svn.freebsd.org/changeset/base/187319
Log:
- pmap_track_modified was retired in r178606. Reintroducing it was a mistake.
Spotted by: alc@
Modified:
head/sys/mips/mips/pmap.c
Modified: head/sys/mips/mips/pmap.c
==============================================================================
--- head/sys/mips/mips/pmap.c Thu Jan 15 22:41:48 2009 (r187318)
+++ head/sys/mips/mips/pmap.c Thu Jan 15 23:03:27 2009 (r187319)
@@ -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_en
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);
More information about the svn-src-all
mailing list