Subject: CVS commit: syssrc/sys/arch/mips/mips
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 08/04/2001 07:25:38
Module Name:	syssrc
Committed By:	chs
Date:		Sat Aug  4 04:25:38 UTC 2001

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

Log Message:
remove remaining spl calls, they're not needed.
remove some checks for impossible conditions.
in pmap_enter(), only call pmap_remove() to remove an existing mapping
if there actually is an existing mapping.

in pmap_remove_pv(), don't flush the MIPS1 cache when removing the last mapping.
this was added in rev 1.97, to avoid stale data being left in the cache
when the page is zeroed bypassing the cache in pmap_zero_page_uncached().
we've since found that bypassing the cache for idle-loop page zeroing
doesn't work very well anyway, so we don't do that anymore.
so now we can remove the extra cache-flush.
remove pmap_zero_page_uncached() while I'm thinking of it.

various other cleanup.


To generate a diff of this commit:
cvs rdiff -r1.129 -r1.130 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.