From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752585AbbIOOKZ (ORCPT ); Tue, 15 Sep 2015 10:10:25 -0400 Received: from e34.co.us.ibm.com ([32.97.110.152]:55798 "EHLO e34.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753229AbbIOOJh (ORCPT ); Tue, 15 Sep 2015 10:09:37 -0400 X-Helo: d03dlp01.boulder.ibm.com X-MailFrom: paulmck@linux.vnet.ibm.com X-RcptTo: linux-kernel@vger.kernel.org Date: Tue, 15 Sep 2015 07:09:22 -0700 From: "Paul E. McKenney" To: Peter Zijlstra Cc: Davidlohr Bueso , Ingo Molnar , Thomas Gleixner , linux-kernel@vger.kernel.org, Davidlohr Bueso Subject: Re: [PATCH -tip 2/3] sched/wake_q: Relax to acquire semantics Message-ID: <20150915140922.GG4029@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <1442216244-4409-1-git-send-email-dave@stgolabs.net> <1442216244-4409-2-git-send-email-dave@stgolabs.net> <20150914123241.GR18489@twins.programming.kicks-ass.net> <20150914210806.GG19736@linux-q0g1.site> <20150915094949.GA16853@twins.programming.kicks-ass.net> <20150915095512.GA18673@twins.programming.kicks-ass.net> <20150915124142.GF4029@linux.vnet.ibm.com> <20150915124800.GB16853@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150915124800.GB16853@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15091514-0017-0000-0000-00000DD94494 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 15, 2015 at 02:48:00PM +0200, Peter Zijlstra wrote: > On Tue, Sep 15, 2015 at 05:41:42AM -0700, Paul E. McKenney wrote: > > > Never mind, the PPC people will implement this with lwsync and that is > > > very much not transitive IIRC. > > > > I am probably lost on context, but... > > > > It turns out that lwsync is transitive in special cases. One of them > > is a series of release-acquire pairs, which can extend indefinitely. > > > > Does that help in this case? > > Probably not, but good to know. I still don't think we want to rely on > ACQUIRE/RELEASE being transitive in general though. OK, I will bite... Why not? Thanx, Paul