diff options
Diffstat (limited to 'Documentation/RCU/whatisRCU.txt')
-rw-r--r-- | Documentation/RCU/whatisRCU.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/RCU/whatisRCU.txt b/Documentation/RCU/whatisRCU.txt index 318df44259b3..820fee236967 100644 --- a/Documentation/RCU/whatisRCU.txt +++ b/Documentation/RCU/whatisRCU.txt | |||
@@ -582,7 +582,7 @@ The rcu_read_lock() and rcu_read_unlock() primitive read-acquire | |||
582 | and release a global reader-writer lock. The synchronize_rcu() | 582 | and release a global reader-writer lock. The synchronize_rcu() |
583 | primitive write-acquires this same lock, then immediately releases | 583 | primitive write-acquires this same lock, then immediately releases |
584 | it. This means that once synchronize_rcu() exits, all RCU read-side | 584 | it. This means that once synchronize_rcu() exits, all RCU read-side |
585 | critical sections that were in progress before synchonize_rcu() was | 585 | critical sections that were in progress before synchronize_rcu() was |
586 | called are guaranteed to have completed -- there is no way that | 586 | called are guaranteed to have completed -- there is no way that |
587 | synchronize_rcu() would have been able to write-acquire the lock | 587 | synchronize_rcu() would have been able to write-acquire the lock |
588 | otherwise. | 588 | otherwise. |
@@ -750,7 +750,7 @@ Or, for those who prefer a side-by-side listing: | |||
750 | 750 | ||
751 | Either way, the differences are quite small. Read-side locking moves | 751 | Either way, the differences are quite small. Read-side locking moves |
752 | to rcu_read_lock() and rcu_read_unlock, update-side locking moves from | 752 | to rcu_read_lock() and rcu_read_unlock, update-side locking moves from |
753 | from a reader-writer lock to a simple spinlock, and a synchronize_rcu() | 753 | a reader-writer lock to a simple spinlock, and a synchronize_rcu() |
754 | precedes the kfree(). | 754 | precedes the kfree(). |
755 | 755 | ||
756 | However, there is one potential catch: the read-side and update-side | 756 | However, there is one potential catch: the read-side and update-side |