[prev in list] [next in list] [prev in thread] [next in thread] 

List:       9fans
Subject:    Re: [9fans] cache question
From:       Tim Newsham <newsham () lava ! net>
Date:       2005-01-28 23:24:07
Message-ID: Pine.BSI.4.61.0501281322130.23562 () malasada ! lava ! net
[Download RAW message or body]

>   I'm seeing a bug where I get some random crashes when I boot
> my kernel with the dcache on which go away if I turn off the
> dcache.  I'm guessing this means that something in the cache
> needs to get flushed that isnt.  What it is or when I should
> flush is less clear to me.  The portable code lets the machine
> specific code know when it should perform an instruction cache
> flush, but never indicates any data flushes.

The closest thing I've found to a solution so far is to flush
a page from the dcache in putmmu() every time a page is added.
This seems a bit excessive (compare with icache which is only
flushed when PG_TXTFLUSH is indicated).

Tim N.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic