lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151103015656.GA10358@jnakajim-build>
Date:	Mon, 2 Nov 2015 17:56:56 -0800
From:	Yunhong Jiang <yunhong.jiang@...ux.intel.com>
To:	paulmck@...ux.vnet.ibm.com
Cc:	linux-kernel@...r.kernel.org
Subject: Can 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ