Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756151AbZDNJo3 (ORCPT ); Tue, 14 Apr 2009 05:44:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753271AbZDNJmc (ORCPT ); Tue, 14 Apr 2009 05:42:32 -0400 Received: from gate.crashing.org ([63.228.1.57]:41506 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755856AbZDNJmb (ORCPT ); Tue, 14 Apr 2009 05:42:31 -0400 In-Reply-To: References: <49E39F3D.4060501@twiddle.net> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Cc: Richard Henderson , Oliver Falk , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Ivan Kokshaysky , linux-alpha@vger.kernel.org, Matt Turner , Jay Estabrook Content-Transfer-Encoding: 7bit From: Segher Boessenkool Subject: Re: alpha: half done futex implementation Date: Tue, 14 Apr 2009 11:45:04 +0200 To: Segher Boessenkool X-Mailer: Apple Mail (2.753.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 520 Lines: 16 > If either the lwarx or the stwcx. faults, the routine returns -EFAULT > and doesn't retry (label "3" is the end of the asm). > > If the stwcx. fails because the CPU lost the reservation, %1 isn't > clobbered as far as I see? Oh, "insn" writes to %1, never mind. Segher -- 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/