On Mon, 9 Sep 2013 10:56:56 -0700
"Paul E. McKenney" <paul...@linux.vnet.ibm.com> wrote:


> Although I do like rcu_is_active() better than rcu_read_check(), my
> concern with rcu_is_active() is that it can easily be mistaken for a
> global state rather than a per-CPU/thread/task/whatever state.

rcu_is_active_local();

Although, even though it's cute. I think "rcu_is_watching_you()" has no
ambiguity.

-- Steve
--
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