Skip to content

Commit 43c6662

Browse files
committed
Minor modernization for README.barrier.
Itanium is very uncommon and being discontinued. ARM is everywhere. Prefer ARM as an example of an architecture with weak memory ordering.
1 parent 7bb9721 commit 43c6662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/storage/lmgr/README.barrier

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Surprisingly, however, the second backend could also end up with foo = 0
3838
and bar = 1. The compiler might swap the order of the two stores performed
3939
by the first backend, or the two loads performed by the second backend.
4040
Even if it doesn't, on a machine with weak memory ordering (such as PowerPC
41-
or Itanium) the CPU might choose to execute either the loads or the stores
41+
or ARM) the CPU might choose to execute either the loads or the stores
4242
out of order. This surprising result can lead to bugs.
4343

4444
A common pattern where this actually does result in a bug is when adding items

0 commit comments

Comments
 (0)