freebsd-dev/sys/mips
Alan Cox f274a47134 Fix two problems with pmap_clear_modify().
First, pmap_clear_modify() is write protecting all mappings to the specified
page, not just clearing the modified bit.  Specifically, it sets PTE_RO on
the PTE, which is wrong.  Moreover, it is calling vm_page_dirty(), which is
not the expected behavior for pmap_clear_modify().  Generally speaking, the
machine-independent VM layer masks these mistakes.  For example, setting
PTE_RO will result in additional soft faults, but not a catastrophe.

Second, pmap_clear_modify() may not clear the modified bits because it only
iterates over the PV list when the page has the PV_TABLE_MOD flag set and
elsewhere the pmap clears the PV_TABLE_MOD flag anytime a modified mapping
is write protected or destroyed.  However, the page may still have other
mappings with the modified bit set.

Eliminate a stale comment.
2012-08-17 05:02:29 +00:00
..
adm5120 o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
alchemy o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
atheros The GPIO drivers were initialising their mutexes with type of 2012-08-17 04:44:57 +00:00
cavium The GPIO drivers were initialising their mutexes with type of 2012-08-17 04:44:57 +00:00
compile
conf MFprojects/zfsd: 2012-05-24 11:20:51 +00:00
gxemul Add basic SMP support for GXemul. Ideally we would have some way to override 2012-05-07 04:36:48 +00:00
idt o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
include Port the new PV entry allocator from amd64/i386. This allocator has two 2012-08-13 17:38:38 +00:00
malta o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
mips Fix two problems with pmap_clear_modify(). 2012-08-17 05:02:29 +00:00
nlm Support Netlogic XLP 8xx B1 revisions in xlpge. 2012-07-09 10:39:57 +00:00
rmi auth.conf is dead. 2012-06-12 17:04:56 +00:00
rt305x The GPIO drivers were initialising their mutexes with type of 2012-08-17 04:44:57 +00:00
sentry5 o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern 2012-03-12 21:25:32 +00:00
sibyte Remove platform APIs which are not used by any code and which had only stub 2012-03-12 07:34:15 +00:00