Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751330AbVIBUle (ORCPT ); Fri, 2 Sep 2005 16:41:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751334AbVIBUle (ORCPT ); Fri, 2 Sep 2005 16:41:34 -0400 Received: from ns1.suse.de ([195.135.220.2]:20667 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1751330AbVIBUld (ORCPT ); Fri, 2 Sep 2005 16:41:33 -0400 To: Alan Cox Cc: Linux Memory Management , linux-kernel , nickpiggin@yahoo.com.au Subject: Re: [PATCH 2.6.13] lockless pagecache 2/7 References: <4317F071.1070403@yahoo.com.au> <4317F0F9.1080602@yahoo.com.au> <4317F136.4040601@yahoo.com.au> <1125666486.30867.11.camel@localhost.localdomain> From: Andi Kleen Date: 02 Sep 2005 22:41:31 +0200 In-Reply-To: <1125666486.30867.11.camel@localhost.localdomain> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 778 Lines: 18 Alan Cox writes: > On Gwe, 2005-09-02 at 16:29 +1000, Nick Piggin wrote: > > 2/7 > > Implement atomic_cmpxchg for i386 and ppc64. Is there any > > architecture that won't be able to implement such an operation? > > i386, sun4c, .... Actually we have cmpxchg on i386 these days - we don't support any SMP i386s so it's just done non atomically. > Yeah quite a few. I suspect most MIPS also would have a problem in this > area. cmpxchg can be done with LL/SC can't it? Any MIPS should have that. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/