[Top] [All Lists]

Re: Fix fallback atomic operations

To: "Maciej W. Rozycki" <>
Subject: Re: Fix fallback atomic operations
From: Ralf Baechle <>
Date: Tue, 14 Jun 2005 08:23:39 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.4.1i
On Mon, Jun 13, 2005 at 09:40:20PM +0100, Maciej W. Rozycki wrote:

>  You may argue it's best to define a private copy of "cpu_has_llsc"  
> expanding to a constant for selecting the right set of atomic operations 
> at the compilation time and I would agree, but AFAIK the whole idea behind 
> our current implementation is to provide a snail-speed fallback or perhaps 
> to support more generic configurations at one point (e.g. one kernel for 
> all DECstations).
>  For most processor settings the current setup already works, as they 
> provide ll/sc anyway, but not for MIPS I ones, like the R3k.  Here's a 
> patch that makes the affected code work for such processors as well.
>  OK to apply?

Go ahead.

Al had a bunch of other complaints which I'll try to take care of asap.


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