93598fd12b
Page mod/ref status is stored in the pv header, and needs to be copied to the following entry when removing the head entry, otherwise the status will be lost (oops!). Move the common MIPS3 cache flush into pmap_remove_pv() and eliminate the unnecessary testing of the return value when only compiled for MIPS1. If the pv entry had the cache inhibited, and we remove the last cache index alias conflict, restore caching on the mappings for that entry. Eliminate possible extra cache flushing inherited from the pica pmap: it was doing the flush when the head entry was being removed - not just the last entry. Now the flush is done only when the last mapping has been removed. Also make sure the secondary cache gets flushed [MIPS3 cache flushing needs to be re-thought/re-done someday]. Update comment for pmap_remove_pv() to reflect these changes. |
||
---|---|---|
.. | ||
conf | ||
include | ||
mips | ||
Makefile | ||
Makefile.inc |