aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/RCU/whatisRCU.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/RCU/whatisRCU.txt')
-rw-r--r--Documentation/RCU/whatisRCU.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/RCU/whatisRCU.txt b/Documentation/RCU/whatisRCU.txt
index 88dfce182f66..16622c9e86b5 100644
--- a/Documentation/RCU/whatisRCU.txt
+++ b/Documentation/RCU/whatisRCU.txt
@@ -256,7 +256,9 @@ rcu_dereference()
256 If you are going to be fetching multiple fields from the 256 If you are going to be fetching multiple fields from the
257 RCU-protected structure, using the local variable is of 257 RCU-protected structure, using the local variable is of
258 course preferred. Repeated rcu_dereference() calls look 258 course preferred. Repeated rcu_dereference() calls look
259 ugly and incur unnecessary overhead on Alpha CPUs. 259 ugly, do not guarantee that the same pointer will be returned
260 if an update happened while in the critical section, and incur
261 unnecessary overhead on Alpha CPUs.
260 262
261 Note that the value returned by rcu_dereference() is valid 263 Note that the value returned by rcu_dereference() is valid
262 only within the enclosing RCU read-side critical section. 264 only within the enclosing RCU read-side critical section.