Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756933AbaGBR5a (ORCPT ); Wed, 2 Jul 2014 13:57:30 -0400 Received: from e35.co.us.ibm.com ([32.97.110.153]:49878 "EHLO e35.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752448AbaGBR53 (ORCPT ); Wed, 2 Jul 2014 13:57:29 -0400 Date: Wed, 2 Jul 2014 10:57:22 -0700 From: "Paul E. McKenney" To: Rik van Riel Cc: Peter Zijlstra , 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, niv@us.ibm.com, tglx@linutronix.de, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, dvhart@linux.intel.com, fweisbec@gmail.com, oleg@redhat.com, sbw@mit.edu Subject: Re: [PATCH RFC tip/core/rcu] Parallelize and economize NOCB kthread wakeups Message-ID: <20140702175722.GX4603@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <20140627142038.GA22942@linux.vnet.ibm.com> <20140702123412.GD19379@twins.programming.kicks-ass.net> <20140702153915.GQ4603@linux.vnet.ibm.com> <20140702160412.GO19379@twins.programming.kicks-ass.net> <20140702170838.GS4603@linux.vnet.ibm.com> <20140702172600.GR19379@twins.programming.kicks-ass.net> <53B44182.4090107@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53B44182.4090107@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14070217-6688-0000-0000-00000300E341 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 02, 2014 at 01:29:38PM -0400, Rik van Riel wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 07/02/2014 01:26 PM, Peter Zijlstra wrote: > > On Wed, Jul 02, 2014 at 10:08:38AM -0700, Paul E. McKenney wrote: > >> As were others, not that long ago. Today is the first hint that > >> I got that you feel otherwise. But it does look like the softirq > >> approach to callback processing needs to stick around for awhile > >> longer. Nice to hear that softirq is now "sane and normal" > >> again, I guess. ;-) > > > > Nah, softirqs are still totally annoying :-) > > > > So I've lost detail again, but it seems to me that on all CPUs that > > are actually getting ticks, waking tasks to process the RCU state > > is entirely over doing it. Might as well keep processing their RCU > > state from the tick as was previously done. > > For CPUs that are not getting ticks (eg. because they are idle), > is it worth waking up anything on that CPU, or would it make more > sense to simply process their RCU callbacks on a different CPU, > if there aren't too many pending? Give or take the number of wakeups generated... ;-) 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/