Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755394AbcKOOzz (ORCPT ); Tue, 15 Nov 2016 09:55:55 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:41085 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752852AbcKOOzx (ORCPT ); Tue, 15 Nov 2016 09:55:53 -0500 Date: Tue, 15 Nov 2016 15:55:36 +0100 From: Peter Zijlstra To: "Paul E. McKenney" Cc: Mathieu Desnoyers , linux-kernel , Ingo Molnar , Lai Jiangshan , dipankar , Andrew Morton , Josh Triplett , Thomas Gleixner , rostedt , David Howells , Eric Dumazet , dvhart , fweisbec , Oleg Nesterov , bobby prani , ldr709 Subject: Re: [PATCH RFC tip/core/rcu] SRCU rewrite Message-ID: <20161115145536.GE11311@worktop.programming.kicks-ass.net> References: <20161114183636.GA28589@linux.vnet.ibm.com> <20161115075113.GN3142@twins.programming.kicks-ass.net> <1857730044.1901.1479218090893.JavaMail.zimbra@efficios.com> <20161115135912.GJ3142@twins.programming.kicks-ass.net> <20161115142627.GX4127@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161115142627.GX4127@linux.vnet.ibm.com> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 685 Lines: 16 On Tue, Nov 15, 2016 at 06:26:27AM -0800, Paul E. McKenney wrote: > On Tue, Nov 15, 2016 at 02:59:12PM +0100, Peter Zijlstra wrote: > > The smp_mb()s in read_{un,}lock() and the lock in call_srcu() come to > > mind. > > There is some possibility of weakening the srcu_read_unlock() ordering, > but one step at a time. > > Has the lock in call_srcu() been causing trouble? Easy to fix if so, > but as you noted in another email today, we don't need complexity for > complexity's sake. And no reports of problems with this have reached > me thus far. It was a cause for concern in the optimistic fault series, but since that never got sorted, it hasn't shown up in practise afaik.