Re: [PATCH] rcu: Is it safe to enter an RCU read-side criticalsection?
From: Steven Rostedt
Date: Mon Sep 09 2013 - 14:36:46 EST
On Mon, 9 Sep 2013 10:56:56 -0700
"Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/