linux-mips
[Top] [All Lists]

Re: __flush_cache_all() miscellany

To: Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: __flush_cache_all() miscellany
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Wed, 29 May 2002 23:46:58 +0200 (MET DST)
Cc: Justin Carlson <justinca@cs.cmu.edu>, linux-mips@oss.sgi.com
In-reply-to: <20020529143305.D888@dea.linux-mips.net>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
On Wed, 29 May 2002, Ralf Baechle wrote:

> >  I converted a few flush_cache_all() invocations to __flush_cache_all() 
> > where appropriate late last year, but the function is a bit older.  I
> > think you might dig the linux-kernel list archives for a discussion on the
> > semantics of flush_cache_all() (it's a nop for many MIPS CPUs) and
> > friends.  The short description in Documentation/cachetlb.txt is a bit
> > insufficient, I'm afraid. 
> 
> I don't like that function very much; it's sort of a shotgun approach
> to flushing caches in a part of the kernel that's not too performance
> relevant.  The whole interface sucks, should be replaced by something
> more finegrained.

 Well, I suspect the API might be somewhat influenced by SPARC's oddities. 
;-) 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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