]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - Documentation/RCU/whatisRCU.txt
doc: Update RCU documentation
[mirror_ubuntu-bionic-kernel.git] / Documentation / RCU / whatisRCU.txt
index 8ed6c9f6133c45a54c442d04ed0814dc2dcd1a45..df62466da4e0692086143fdd1294e6bb69eacb5f 100644 (file)
@@ -890,6 +890,8 @@ SRCU:       Critical sections       Grace period            Barrier
        srcu_read_lock_held
 
 SRCU:  Initialization/cleanup
+       DEFINE_SRCU
+       DEFINE_STATIC_SRCU
        init_srcu_struct
        cleanup_srcu_struct
 
@@ -913,7 +915,8 @@ a.  Will readers need to block?  If so, you need SRCU.
 b.     What about the -rt patchset?  If readers would need to block
        in an non-rt kernel, you need SRCU.  If readers would block
        in a -rt kernel, but not in a non-rt kernel, SRCU is not
-       necessary.
+       necessary.  (The -rt patchset turns spinlocks into sleeplocks,
+       hence this distinction.)
 
 c.     Do you need to treat NMI handlers, hardirq handlers,
        and code segments with preemption disabled (whether