lkml.org 
[lkml]   [2013]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] rcu: Is it safe to enter an RCU read-side critical section?
On Mon, 9 Sep 2013 15:29:02 +0200
Frederic Weisbecker <fweisbec@gmail.com> 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



\
 
 \ /
  Last update: 2013-09-09 17:21    [W:0.102 / U:1.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site