lkml.org 
[lkml]   [2015]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCan srcu_read_lock() be called from interrupt context?
Hi, Paul
I have a question to the srcu_read_lock(). Can it be invoked on
interrupt context? According to
http://lxr.free-electrons.com/source/kernel/rcu/srcu.c#L292 it can only be
called from process context, but according to
http://lxr.free-electrons.com/source/include/linux/srcu.h#L213 seems it's ok
from irq context only if it matches with the srcu_read_unlock. Can you
please give some hints?

Thanks
--jyh


\
 
 \ /
  Last update: 2015-11-03 03:41    [W:0.076 / U:1.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site