Re: [PATCH] rcu: Is it safe to enter an RCU read-side criticalsection?

From: Steven Rostedt
Date: Mon Sep 09 2013 - 09:41:42 EST


On Mon, 9 Sep 2013 15:29:02 +0200
Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:


> No, putting that on the task_struct won't help much in this regard I think.
> Regular schedule() calls don't change that per cpu state.

But is there a place that it would need to?

I mean, if RCU is not tracking a CPU, is it safe to call schedule().
And then how would the new task know that RCU is ignoring that CPU?

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