Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752092AbaFFPma (ORCPT ); Fri, 6 Jun 2014 11:42:30 -0400 Received: from g2t2354.austin.hp.com ([15.217.128.53]:44758 "EHLO g2t2354.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752005AbaFFPm3 (ORCPT ); Fri, 6 Jun 2014 11:42:29 -0400 Message-ID: <1402069339.14433.0.camel@buesod1.americas.hpqcorp.net> Subject: Re: [PATCH v2] introduce atomic_pointer to fix a race condition in cancelable mcs spinlocks From: Davidlohr Bueso To: Peter Zijlstra Cc: Linus Torvalds , Mikulas Patocka , "James E.J. Bottomley" , Helge Deller , John David Anglin , Parisc List , Linux Kernel Mailing List , Paul McKenney , "Vinod, Chegu" , Waiman Long , Thomas Gleixner , Rik van Riel , Andrew Morton , Peter Anvin , Andi Kleen , "Chandramouleeswaran, Aswin" , "Norton, Scott J" , Jason Low , mingo@kernel.org Date: Fri, 06 Jun 2014 08:42:19 -0700 In-Reply-To: <20140606150607.GT13930@laptop.programming.kicks-ass.net> References: <20140602162525.GH16155@laptop.programming.kicks-ass.net> <20140606150607.GT13930@laptop.programming.kicks-ass.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.4 (3.6.4-3.fc18) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2014-06-06 at 17:06 +0200, Peter Zijlstra wrote: > On Mon, Jun 02, 2014 at 10:09:35AM -0700, Linus Torvalds wrote: > > On Mon, Jun 2, 2014 at 9:25 AM, Peter Zijlstra wrote: > > > > > > And I can't say I'm a particular fan of these ops either, as alternative > > > I'm almost inclined to just exclude parisc from using opt spinning. > > > > Please do. > > Something like so; if the rwsem stuff lands in .15 we need more for > that, it doesn't have a convenient CONFIG symbol like this. > > Linus will you take this from email, or should I get it through > tip/locking/urgent or so? > > --- > Subject: locking, mutex: Disable optimistic spinning for PA-RISC > > PA-RISC's cmpxchg is not save against normal stores and the code used > for optimistic spinning is known broken because of this. > > Disable for now. I almost hit the send button :) > > Reported-by: Mikulas Patocka > Signed-off-by: Peter Zijlstra > --- Reviewed-by: Davidlohr Bueso -- 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/