forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit11b1a39
committed
Remove overzeleous assertions in pg_atomic_flag code.
The atomics code asserts proper alignment in various places. That'smainly because the alignment of 64bit integers is not sufficient foratomic operations on all platforms. Some ABIs only have four bytealignment, but don't have atomic behavior when crossing pageboundaries.The flags code isn't affected by that however, as the type alignmentalways is sufficient for atomic operations. Nevertheless the codeasserted alignment requirements. Before8c3debb it was only broken onhppa, after it probably affect further platforms.Thus remove the assertions for pg_atomic_flag operators.Per buildfarm animal pademelon.Discussion:https://postgr.es/m/7223.1523124425@sss.pgh.pa.usBackpatch: 9.5-1 parent5b7fc7b commit11b1a39
1 file changed
+0
-8
lines changedLines changed: 0 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
174 | 174 |
| |
175 | 175 |
| |
176 | 176 |
| |
177 |
| - | |
178 |
| - | |
179 | 177 |
| |
180 | 178 |
| |
181 | 179 |
| |
| |||
189 | 187 |
| |
190 | 188 |
| |
191 | 189 |
| |
192 |
| - | |
193 |
| - | |
194 | 190 |
| |
195 | 191 |
| |
196 | 192 |
| |
| |||
204 | 200 |
| |
205 | 201 |
| |
206 | 202 |
| |
207 |
| - | |
208 |
| - | |
209 | 203 |
| |
210 | 204 |
| |
211 | 205 |
| |
| |||
217 | 211 |
| |
218 | 212 |
| |
219 | 213 |
| |
220 |
| - | |
221 |
| - | |
222 | 214 |
| |
223 | 215 |
| |
224 | 216 |
| |
|
0 commit comments
Comments
(0)