[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100811.230936.183035599.davem@davemloft.net>
Date: Wed, 11 Aug 2010 23:09:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: paulmck@...ux.vnet.ibm.com
Cc: herbert@...dor.apana.org.au, linville@...driver.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] netpoll: use non-BH variant of RCU
From: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Date: Wed, 11 Aug 2010 15:00:47 -0700
> @@ -113,6 +113,12 @@ int rcu_my_thread_group_empty(void)
> return thread_group_empty(current);
> }
> EXPORT_SYMBOL_GPL(rcu_my_thread_group_empty);
> +
> +void rcu_read_unlock_bh_irqsoff_check(void)
> +{
> + WARN_ON_ONCE(in_irq() || irqs_disabled());
> +}
> +EXPORT_SYMBOL_GPL(rcu_read_unlock_bh_irqsoff_check);
> #endif /* #ifdef CONFIG_PROVE_RCU */
Is this WARN_ON_ONCE() test inverted? It seems to be called where we
"should be" in an IRQ or have IRQs disabled.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists