From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755377Ab3HRDEk (ORCPT ); Sat, 17 Aug 2013 23:04:40 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:56881 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755314Ab3HRDEj (ORCPT ); Sat, 17 Aug 2013 23:04:39 -0400 X-Originating-IP: 50.43.39.152 Date: Sat, 17 Aug 2013 20:04:28 -0700 From: Josh Triplett To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, mingo@elte.hu, laijs@cn.fujitsu.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@polymtl.ca, niv@us.ibm.com, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, darren@dvhart.com, fweisbec@gmail.com, sbw@mit.edu Subject: Re: [PATCH tip/core/rcu 5/9] nohz_full: Add per-CPU idle-state tracking Message-ID: <20130818030428.GH28923@leaf> References: <20130818014918.GA27827@linux.vnet.ibm.com> <1376790584-28120-1-git-send-email-paulmck@linux.vnet.ibm.com> <1376790584-28120-5-git-send-email-paulmck@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1376790584-28120-5-git-send-email-paulmck@linux.vnet.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 17, 2013 at 06:49:40PM -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > This commit adds the code that updates the rcu_dyntick structure's > new fields to track the per-CPU idle state based on interrupts and > transitions into and out of the idle loop (NMIs are ignored because NMI > handlers cannot cleanly read out the time anyway). This code is similar > to the code that maintains RCU's idea of per-CPU idleness, but differs > in that RCU treats CPUs running in user mode as idle, where this new > code does not. > > Signed-off-by: Paul E. McKenney > Acked-by: Frederic Weisbecker > Cc: Steven Rostedt Same comment here about using ifdef around function bodies. - Josh Triplett