File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -396,6 +396,10 @@ Memory barriers come in four basic varieties:
396
396
397
397
398
398
(2) Address-dependency barriers (historical).
399
+ [!] This section is marked as HISTORICAL: For more up-to-date
400
+ information, including how compiler transformations related to pointer
401
+ comparisons can sometimes cause problems, see
402
+ Documentation/RCU/rcu_dereference.rst.
399
403
400
404
An address-dependency barrier is a weaker form of read barrier. In the
401
405
case where two loads are performed such that the second depends on the
@@ -556,6 +560,9 @@ There are certain things that the Linux kernel memory barriers do not guarantee:
556
560
557
561
ADDRESS-DEPENDENCY BARRIERS (HISTORICAL)
558
562
----------------------------------------
563
+ [!] This section is marked as HISTORICAL: For more up-to-date information,
564
+ including how compiler transformations related to pointer comparisons can
565
+ sometimes cause problems, see Documentation/RCU/rcu_dereference.rst.
559
566
560
567
As of v4.15 of the Linux kernel, an smp_mb() was added to READ_ONCE() for
561
568
DEC Alpha, which means that about the only people who need to pay attention
You can’t perform that action at this time.
0 commit comments