forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4bc15a8
committed
Mark FastPathStrongRelationLocks volatile.
Otherwise, the compiler might decide to move modifications to datawithin this structure outside the enclosing SpinLockAcquire /SpinLockRelease pair, leading to shared memory corruption.This may or may not explain a recent lmgr-related buildfarm failureon prairiedog, but it needs to be fixed either way.1 parent0f95b72 commit4bc15a8
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
238 | 238 |
| |
239 | 239 |
| |
240 | 240 |
| |
241 |
| - | |
| 241 | + | |
242 | 242 |
| |
243 | 243 |
| |
244 | 244 |
| |
|
0 commit comments
Comments
(0)