From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754441AbbJGNtn (ORCPT ); Wed, 7 Oct 2015 09:49:43 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:56908 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753932AbbJGNtm (ORCPT ); Wed, 7 Oct 2015 09:49:42 -0400 Date: Wed, 7 Oct 2015 15:49:29 +0200 From: Peter Zijlstra To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, jiangshanlai@gmail.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 Subject: Re: [PATCH tip/core/rcu 04/18] rcu: Use single-stage IPI algorithm for RCU expedited grace period Message-ID: <20151007134929.GM11639@twins.programming.kicks-ass.net> References: <20151006162907.GA12020@linux.vnet.ibm.com> <1444148977-14108-1-git-send-email-paulmck@linux.vnet.ibm.com> <1444148977-14108-4-git-send-email-paulmck@linux.vnet.ibm.com> <20151007134311.GC3604@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151007134311.GC3604@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 07, 2015 at 03:43:11PM +0200, Peter Zijlstra wrote: > On Tue, Oct 06, 2015 at 09:29:23AM -0700, Paul E. McKenney wrote: > > @@ -167,42 +307,18 @@ static void rcu_preempt_note_context_switch(void) > > > - raw_spin_unlock_irqrestore(&rnp->lock, flags); > > This again reminds me that we should move rcu_note_context_switch() > under the IRQ disable section the scheduler already has or remove the > IRQ disable from rcu_note_context_switch(). Ah, this is the unlikely path where we actually need to do work. The normal fast paths no longer require IRQs disabled, you already fixed that last time, good!