X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=Documentation%2FRCU%2Fchecklist.txt;h=49e27cc19385385c25618d661566c13024a6c2fa;hb=e6da74e1f20ea7822e52a9e4fbd3d25bd907e471;hp=e118a7c1a0928d9aadc5f4cd34d4e110a930a1ee;hpb=abf914208a1e120446ea4f9bc26406bd3a4579e1;p=linux-2.6-omap-h63xx.git diff --git a/Documentation/RCU/checklist.txt b/Documentation/RCU/checklist.txt index e118a7c1a09..49e27cc1938 100644 --- a/Documentation/RCU/checklist.txt +++ b/Documentation/RCU/checklist.txt @@ -177,3 +177,9 @@ over a rather long period of time, but improvements are always welcome! If you want to wait for some of these other things, you might instead need to use synchronize_irq() or synchronize_sched(). + +12. Any lock acquired by an RCU callback must be acquired elsewhere + with irq disabled, e.g., via spin_lock_irqsave(). Failing to + disable irq on a given acquisition of that lock will result in + deadlock as soon as the RCU callback happens to interrupt that + acquisition's critical section.