On Mon, 2013-03-18 at 16:32 -0400, Neil Horman wrote: > Vlads, right. We need to grab the rcu lock before the read lock, but we > should > probably use the rcu_read_lock_bh variant, since we're going to disable bottom > halves anyway. > Neil
rcu_read_lock_bh() and {local_bh_disable();rcu_read_lock();} have quite different semantics. If you use rcu_read_lock_bh(), you also need to change rcu_dereference() calls to rcu_dereference_bh() variant. -- 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/