On Wed, May 01, 2013 at 07:32:58AM -0700, Paul E. McKenney wrote:
> Here is how to detect this:
> 
>       static void inline cond_resched_rcu_lock(void)
>       {
>               rcu_read_unlock();
>               WARN_ON_ONCE(rcu_read_lock_held());
>       #ifndef CONFIG_PREEMPT_RCU
>               cond_resched();
>       #endif
>               rcu_read_lock();
>       }

The __might_sleep(__FILE__, __LINE__, PREEMPT_RCU_OFFSET) I posted in the other
email just now should deal with this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to