Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Michael L. Hitch <mhitch@netbsd.org>
List: source-changes
Date: 11/06/1999 15:18:06
Module Name:	syssrc
Committed By:	mhitch
Date:		Sat Nov  6 23:18:06 UTC 1999

Modified Files:
	syssrc/sys/arch/mips/mips: pmap.c

Log Message:
Cleanup pmap_remove_pv() a bit:
  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.


To generate a diff of this commit:
cvs rdiff -r1.74 -r1.75 syssrc/sys/arch/mips/mips/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.