- Notifications
You must be signed in to change notification settings - Fork5
Commitf998948
committed
Impose a full barrier in generic-xlc.h atomics functions.
pg_atomic_compare_exchange_*_impl() were providing only the semantics ofan acquire barrier. Buildfarm members hornet and mandrill revealed thisdeficit beginning with commit008608b.While we have no report of symptoms in 9.5, we can't rule out thepossibility of certain compilers, hardware, or extension code relying onthese functions' specified barrier semantics. Back-patch to 9.5, wherecommitb64d92f introduced atomics.Reviewed by Andres Freund.1 parent46e006d commitf998948
1 file changed
+22
-4
lines changedLines changed: 22 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
49 | 59 |
| |
50 | 60 |
| |
51 | 61 |
| |
52 | 62 |
| |
53 |
| - | |
54 |
| - | |
| 63 | + | |
| 64 | + | |
55 | 65 |
| |
56 | 66 |
| |
57 | 67 |
| |
| |||
69 | 79 |
| |
70 | 80 |
| |
71 | 81 |
| |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
72 | 86 |
| |
73 | 87 |
| |
74 | 88 |
| |
| |||
79 | 93 |
| |
80 | 94 |
| |
81 | 95 |
| |
82 |
| - | |
83 |
| - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
84 | 102 |
| |
85 | 103 |
| |
86 | 104 |
| |
|
0 commit comments
Comments
(0)