Re: New MIPS cache code vs. R5k secondary caches...

Jason R Thorpe <[email protected]> Fri, 20 Sep 2002 16:33:34 -0700
Newsgroups gmane.os.netbsd.ports.mips,gmane.os.netbsd.ports.sgimips
Organization Wasabi Systems, Inc.
Message-ID <[email protected]>
On Fri, Sep 20, 2002 at 07:21:24PM -0400, Rafal Boni wrote:

 > Yah, I'm not either.  The Linux code I've seem people toss around does as
 > if the page invalidate cacheop where actually indexed -- by just walking
 > from KSEG0 to KSEG0 + sdcache_size and invalidating each page inbetween.
 > 
 > Another way to do this may be to simply use the SDcache INDEX STORE TAG
 > to mark all the cache blocks invalid; this could also be used if we wanted
 > to invalidate very small regions (ie, << page size).

Honestly, I am kind of surprised that the "page invalidate" isn't in fact
an index op as opposed to a hit op.

-- 
        -- Jason R. Thorpe <[email protected]>