Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755176AbbBTROu (ORCPT ); Fri, 20 Feb 2015 12:14:50 -0500 Received: from e31.co.us.ibm.com ([32.97.110.149]:41512 "EHLO e31.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754820AbbBTROt (ORCPT ); Fri, 20 Feb 2015 12:14:49 -0500 Date: Fri, 20 Feb 2015 09:14:42 -0800 From: "Paul E. McKenney" To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, laijs@cn.fujitsu.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, dvhart@linux.intel.com, fweisbec@gmail.com, oleg@redhat.com, bobby.prani@gmail.com, arjan@linux.intel.com Subject: Re: [PATCH tip/core/rcu 0/4] Programmatic nestable expedited grace periods Message-ID: <20150220171442.GM5745@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <20150220050850.GA32639@linux.vnet.ibm.com> <20150220091107.GN21418@twins.programming.kicks-ass.net> <20150220163737.GL5745@linux.vnet.ibm.com> <20150220165409.GU5029@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150220165409.GU5029@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: 15022017-8236-0000-0000-0000099AF887 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1589 Lines: 38 On Fri, Feb 20, 2015 at 05:54:09PM +0100, Peter Zijlstra wrote: > On Fri, Feb 20, 2015 at 08:37:37AM -0800, Paul E. McKenney wrote: > > On Fri, Feb 20, 2015 at 10:11:07AM +0100, Peter Zijlstra wrote: > > > So I though we wanted to get rid / limit the expedited stuff because its > > > IPI happy, and here its spreading. > > > > Well, at least it no longer IPIs idle CPUs. ;-) > > > > And this is during boot, when a few extra IPIs should not be a big deal. > > Well the one application now is during boot; but you expose the > interface for all to use, and therefore someone will. I could make rcu_expedite_gp() and rcu_unexpedite_gp() be static, I suppose. Except that I need to test them with rcutorture. I suppose I could put the declaration in rcutorture.c, but then 0day will tell me to made them static. :-/ > > > Does it really make a machine boot much faster? Why are people using > > > synchronous gp primitives if they care about speed? Should we not fix > > > that instead? > > > > The report I heard was that it provided 10-15% faster boot times. > > That's not insignificant; got more details? I think we should really > look at why people are using the sync primitives. I must defer to the people who took the exact measurements. But yes, once I have that info, I should add it to the commit log. Thanx, Paul -- 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/