Subject: Re: CVS commit: syssrc/sys/arch/mips/mips
To: None <port-mips@netbsd.org>
From: Toru Nishimura <locore32@gaea.ocn.ne.jp>
List: port-mips
Date: 11/10/2002 14:38:30
> > > 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 <thorpej@wasabisystems.com>

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