Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754347Ab1FHXYh (ORCPT ); Wed, 8 Jun 2011 19:24:37 -0400 Received: from blu0-omc1-s14.blu0.hotmail.com ([65.55.116.25]:32349 "EHLO blu0-omc1-s14.blu0.hotmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755011Ab1FHXYg (ORCPT ); Wed, 8 Jun 2011 19:24:36 -0400 X-Originating-IP: [184.145.208.36] X-Originating-Email: [pdumas9@sympatico.ca] Message-ID: Date: Wed, 8 Jun 2011 19:19:01 -0400 From: Mathieu Desnoyers 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, josh@joshtriplett.org, niv@us.ibm.com, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, Valdis.Kletnieks@vt.edu, dhowells@redhat.com, eric.dumazet@gmail.com, darren@dvhart.com, patches@linaro.org Subject: Re: [PATCH tip/core/rcu 10/28] rcu: Fix RCU's NMI documentation References: <20110608192943.GA13211@linux.vnet.ibm.com> <1307561407-13809-10-git-send-email-paulmck@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <1307561407-13809-10-git-send-email-paulmck@linux.vnet.ibm.com> X-Editor: vi X-Info: http://krystal.dyndns.org:8080 X-Operating-System: Linux/2.6.27.31-grsec (i686) X-Uptime: 19:18:39 up 427 days, 9:08, 5 users, load average: 0.38, 0.24, 0.16 User-Agent: Mutt/1.5.18 (2008-05-17) X-OriginalArrivalTime: 08 Jun 2011 23:19:03.0538 (UTC) FILETIME=[74B8A520:01CC2632] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1496 Lines: 41 * Paul E. McKenney (paulmck@linux.vnet.ibm.com) wrote: > It has long been the case that the architecture must call nmi_enter() > and nmi_exit() rather than irq_enter() and irq_exit() in order to > permit RCU read-side critical sections in NMIs. Catch the documentation > up with reality. > > Signed-off-by: Paul E. McKenney Acked-by: Mathieu Desnoyers > --- > Documentation/RCU/NMI-RCU.txt | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/Documentation/RCU/NMI-RCU.txt b/Documentation/RCU/NMI-RCU.txt > index a8536cb..84e4f9c 100644 > --- a/Documentation/RCU/NMI-RCU.txt > +++ b/Documentation/RCU/NMI-RCU.txt > @@ -95,7 +95,7 @@ not to return until all ongoing NMI handlers exit. It is therefore safe > to free up the handler's data as soon as synchronize_sched() returns. > > Important note: for this to work, the architecture in question must > -invoke irq_enter() and irq_exit() on NMI entry and exit, respectively. > +invoke nmi_enter() and nmi_exit() on NMI entry and exit, respectively. > > > Answer to Quick Quiz > -- > 1.7.3.2 > -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com -- 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/