public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Can srcu_read_lock() be called from interrupt context?
@ 2015-11-03  1:56 Yunhong Jiang
  2015-11-03  9:55 ` Paul E. McKenney
  0 siblings, 1 reply; 4+ messages in thread
From: Yunhong Jiang @ 2015-11-03  1:56 UTC (permalink / raw)
  To: paulmck; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-03 15:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-03  1:56 Can srcu_read_lock() be called from interrupt context? Yunhong Jiang
2015-11-03  9:55 ` Paul E. McKenney
2015-11-03 14:47   ` Peter Zijlstra
2015-11-03 15:15     ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox