[Top] [All Lists]

Re: missing data cache flush in trap_init?

To: Jun Sun <>
Subject: Re: missing data cache flush in trap_init?
From: "Maciej W. Rozycki" <>
Date: Wed, 3 Jan 2001 12:29:18 +0100 (MET)
In-reply-to: <>
Organization: Technical University of Gdansk
On Tue, 2 Jan 2001, Jun Sun wrote:

> The following patch should fix it.  I am not sure if I can use
> flush_cache_range() to have potentially better performance.

 Yes, flush_cache_range() is the right function and it should be used even
if no performance gain is achieved (it is in this case, though).  I can't
comment if that's needed at all, though.  R3k which I use has its data
cache write-through so it doesn't need such a change.  I might check IDT
R4k and possibly IDT R5k docs yet but I have no idea about other

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>