- Notifications
You must be signed in to change notification settings - Fork5
Commit213c7df
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 parent3019f43 commit213c7df
1 file changed
+22
-4
lines changedLines changed: 22 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
43 | 53 |
| |
44 | 54 |
| |
45 | 55 |
| |
46 | 56 |
| |
47 |
| - | |
48 |
| - | |
| 57 | + | |
| 58 | + | |
49 | 59 |
| |
50 | 60 |
| |
51 | 61 |
| |
| |||
63 | 73 |
| |
64 | 74 |
| |
65 | 75 |
| |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
66 | 80 |
| |
67 | 81 |
| |
68 | 82 |
| |
| |||
73 | 87 |
| |
74 | 88 |
| |
75 | 89 |
| |
76 |
| - | |
77 |
| - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
78 | 96 |
| |
79 | 97 |
| |
80 | 98 |
| |
|
0 commit comments
Comments
(0)