On Fri, 06 Sep 2013 21:22:15 +0900
Masami Hiramatsu <masami.hiramatsu...@hitachi.com> wrote:

> 
> And AFAICS, the tracepoint (on which the syscall tracer based)
> call-site uses rcu_read_lock_sched_notrace() instead of rcu_read_lock(),
> in that case, I think we should use synchronize_sched(). is that wrong?
> 

Ah, no, you are correct.  I was thinking that the tracepoints used
rcu_read_lock(), but looking at the code, it's rcu_read_lock_sched().
Thus a synchronize_sched() *is* required.

Thanks, and please ignore my other comments about using
"synchronize_rcu()".

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