summaryrefslogtreecommitdiffstats
path: root/kernel/srcu.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/srcu.c')
-rw-r--r--kernel/srcu.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/kernel/srcu.c b/kernel/srcu.c
index f098f1768215..e34f2991ed41 100644
--- a/kernel/srcu.c
+++ b/kernel/srcu.c
@@ -477,12 +477,11 @@ EXPORT_SYMBOL_GPL(synchronize_srcu);
477 * Wait for an SRCU grace period to elapse, but be more aggressive about 477 * Wait for an SRCU grace period to elapse, but be more aggressive about
478 * spinning rather than blocking when waiting. 478 * spinning rather than blocking when waiting.
479 * 479 *
480 * Note that it is illegal to call this function while holding any lock 480 * Note that it is also illegal to call synchronize_srcu_expedited()
481 * that is acquired by a CPU-hotplug notifier. It is also illegal to call 481 * from the corresponding SRCU read-side critical section;
482 * synchronize_srcu_expedited() from the corresponding SRCU read-side 482 * doing so will result in deadlock. However, it is perfectly legal
483 * critical section; doing so will result in deadlock. However, it is 483 * to call synchronize_srcu_expedited() on one srcu_struct from some
484 * perfectly legal to call synchronize_srcu_expedited() on one srcu_struct 484 * other srcu_struct's read-side critical section, as long as
485 * from some other srcu_struct's read-side critical section, as long as
486 * the resulting graph of srcu_structs is acyclic. 485 * the resulting graph of srcu_structs is acyclic.
487 */ 486 */
488void synchronize_srcu_expedited(struct srcu_struct *sp) 487void synchronize_srcu_expedited(struct srcu_struct *sp)