[Linux-kernel-mentees] [PATCH] doc: RCU callback locks need only _bh, not necessarily _irq

Jonathan Corbet corbet at lwn.net
Fri Jun 28 15:11:01 UTC 2019


On Thu, 27 Jun 2019 16:01:47 -0500
Jiunn Chang <c0d1n61at3 at gmail.com> wrote:

> 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 at linux.ibm.com>
> Signed-off-by: Jiunn Chang <c0d1n61at3 at gmail.com>
> ---
>  Documentation/RCU/UP.rst | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)

Applied, thanks.

jon


More information about the Linux-kernel-mentees mailing list