Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932125Ab2K0QcF (ORCPT ); Tue, 27 Nov 2012 11:32:05 -0500 Received: from mail-vc0-f174.google.com ([209.85.220.174]:39990 "EHLO mail-vc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756155Ab2K0QbP (ORCPT ); Tue, 27 Nov 2012 11:31:15 -0500 MIME-Version: 1.0 In-Reply-To: <20121127161639.GF2474@linux.vnet.ibm.com> References: <1353993325.14050.49.camel@ThinkPad-T5421.cn.ibm.com> <20121127161639.GF2474@linux.vnet.ibm.com> Date: Tue, 27 Nov 2012 17:31:14 +0100 Message-ID: Subject: Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault From: Frederic Weisbecker To: paulmck@linux.vnet.ibm.com Cc: Li Zhong , linux-next list , LKML , sasha.levin@oracle.com, gleb@redhat.com, avi@redhat.com Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 990 Lines: 23 2012/11/27 Paul E. McKenney : > It is OK to call rcu_irq_exit() without a matching rcu_irq_enter() -only- > if you have also called rcu_idle_exit() since the last rcu_idle_enter(). > There will be a similar rule for rcu_user_exit(). > > More generally, it is OK to call rcu_irq_exit() without a matching > rcu_irq_enter() only if RCU believes that the CPU you are running on is > non-idle. Perfect! > On 32-bit systems, you are only allowed a few tens of million > such unmatched rcu_irq_enter() calls in a given RCU-non-idle region. > > All courtesy of RCU's need to tolerate architectures that enter > interrupt handlers without ever leaving them and vice versa. ;-) RCU idle mode in a hostile environment ;-) -- 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/