From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Paul E. McKenney" Subject: Re: [PATCH v6 4/5] MCS Lock: Barrier corrections Date: Thu, 21 Nov 2013 05:18:06 -0800 Message-ID: <20131121131806.GQ4138@linux.vnet.ibm.com> References: <20131120153123.GF4138@linux.vnet.ibm.com> <20131120154643.GG19352@mudshark.cambridge.arm.com> <20131120171400.GI4138@linux.vnet.ibm.com> <1384973026.11046.465.camel@schen9-DESK> <20131120190616.GL4138@linux.vnet.ibm.com> <1384979767.11046.489.camel@schen9-DESK> <20131120214402.GM4138@linux.vnet.ibm.com> <1384991514.11046.504.camel@schen9-DESK> <20131121045333.GO4138@linux.vnet.ibm.com> <20131121104503.GB10022@twins.programming.kicks-ass.net> Reply-To: paulmck@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20131121104503.GB10022@twins.programming.kicks-ass.net> Sender: owner-linux-mm@kvack.org To: Peter Zijlstra Cc: Tim Chen , Will Deacon , Ingo Molnar , Andrew Morton , Thomas Gleixner , "linux-kernel@vger.kernel.org" , linux-mm , "linux-arch@vger.kernel.org" , Linus Torvalds , Waiman Long , Andrea Arcangeli , Alex Shi , Andi Kleen , Michel Lespinasse , Davidlohr Bueso , Matthew R Wilcox , Dave Hansen , Rik van Riel , Peter Hurley , Raghavendra List-Id: linux-arch.vger.kernel.org On Thu, Nov 21, 2013 at 11:45:03AM +0100, Peter Zijlstra wrote: > On Wed, Nov 20, 2013 at 08:53:33PM -0800, Paul E. McKenney wrote: > > The other option is to weaken lock semantics so that unlock-lock no > > longer implies a full barrier, but I believe that we would regret taking > > that path. (It would be OK by me, I would just add a few smp_mb() > > calls on various slowpaths in RCU. But...) > > Please no, I know we rely on it in a number of places, I just can't > remember where all those were :/ ;-) ;-) ;-) Yeah, I would also have to overprovision smp_mb()s in a number of places. Then again, I know that I don't rely on this on any of RCU's fastpaths. Thanx, Paul -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org