Skip to content
Commit acb6258a authored by Jiunn Chang's avatar Jiunn Chang Committed by Jonathan Corbet
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
Signed-off-by: default avatarJiunn Chang <c0d1n61at3@gmail.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 62ee81b5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment