linux-mips
[Top] [All Lists]

Re: __flush_cache_all() miscellany

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: __flush_cache_all() miscellany
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Wed, 29 May 2002 14:33:05 -0700
Cc: Justin Carlson <justinca@cs.cmu.edu>, linux-mips@oss.sgi.com
In-reply-to: <Pine.GSO.3.96.1020529222325.17584N-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Wed, May 29, 2002 at 11:00:21PM +0200
References: <1022703646.7643.175.camel@ldt-sj3-022.sj.broadcom.com> <Pine.GSO.3.96.1020529222325.17584N-100000@delta.ds2.pg.gda.pl>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5.1i
On Wed, May 29, 2002 at 11:00:21PM +0200, Maciej W. Rozycki 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.

  Ralf

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