summaryrefslogtreecommitdiffstats
path: root/lib/cmdline.c
diff options
context:
space:
mode:
authorJiunn Chang <c0d1n61at3@gmail.com>2019-06-27 16:01:47 -0500
committerJonathan Corbet <corbet@lwn.net>2019-06-28 09:10:40 -0600
commitacb6258acc4fbb76449eec6d0c7ca25254671e31 (patch)
tree4495e4d1aafd5a21ff877ece56e779a5866de47c /lib/cmdline.c
parent62ee81b5681daa781f5e800346ae8654b3e5a864 (diff)
downloadlinux-acb6258acc4fbb76449eec6d0c7ca25254671e31.tar.gz
linux-acb6258acc4fbb76449eec6d0c7ca25254671e31.tar.bz2
linux-acb6258acc4fbb76449eec6d0c7ca25254671e31.zip
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 <paulmck@linux.ibm.com> Signed-off-by: Jiunn Chang <c0d1n61at3@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions