aboutsummaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJiunn Chang <[email protected]>2019-06-27 16:01:47 -0500
committerJonathan Corbet <[email protected]>2019-06-28 09:10:40 -0600
commitacb6258acc4fbb76449eec6d0c7ca25254671e31 (patch)
tree4495e4d1aafd5a21ff877ece56e779a5866de47c /security/selinux/hooks.c
parent62ee81b5681daa781f5e800346ae8654b3e5a864 (diff)
doc: RCU callback locks need only _bh, not necessarily _irq
The UP.rst file calls for locks acquired within RCU callback functions to use _irq variants (spin_lock_irqsave() or similar), which does work, but can be overkill. This commit therefore instead calls for _bh variants (spin_lock_bh() or similar), while noting that _irq does work. Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Jiunn Chang <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions