diff options
Diffstat (limited to 'Documentation/RCU/checklist.txt')
-rw-r--r-- | Documentation/RCU/checklist.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/RCU/checklist.txt b/Documentation/RCU/checklist.txt index e118a7c1a092..49e27cc19385 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! | |||
177 | 177 | ||
178 | If you want to wait for some of these other things, you might | 178 | If you want to wait for some of these other things, you might |
179 | instead need to use synchronize_irq() or synchronize_sched(). | 179 | instead need to use synchronize_irq() or synchronize_sched(). |
180 | |||
181 | 12. Any lock acquired by an RCU callback must be acquired elsewhere | ||
182 | with irq disabled, e.g., via spin_lock_irqsave(). Failing to | ||
183 | disable irq on a given acquisition of that lock will result in | ||
184 | deadlock as soon as the RCU callback happens to interrupt that | ||
185 | acquisition's critical section. | ||