Re: CVS commit: syssrc/sys/arch/mips/mips

"Toru Nishimura" <[email protected]> Sun, 10 Nov 2002 14:38:30 +0900
Newsgroups gmane.os.netbsd.ports.mips
Message-ID <000401c2887b$67400900$0d00a8c0@paq5>
> > > Log Message:
> > > Use pmap_enter_pa and pmap_kremove for vmapbuf/vunmapbuf, respectively.
> > > Have variable names renamed for the logic clarity.
> > 
> > I don't think this is correct; for MIPS, you need to use the normal
> > pmap_enter()/pmap_remove() to keep track of virtual aliases.
> > 
> > -- 
> >         -- Jason R. Thorpe <[email protected]>

In MIPS virtual address index with physical address tag cache, cache lines
can be shared across different VAs as long as the same cache index is
guaranteed chosen.  Virtual address tag cache is not the case.  It's just
evil.   For the sake of effective use of cache, VA must be carefully managed
when a single store is shared by different VAs.

Toru Nishimura/ALKYL Technology