forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite980ec7
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 parent6a63dda commite980ec7
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
237 | 237 |
| |
238 | 238 |
| |
239 | 239 |
| |
240 |
| - | |
| 240 | + | |
241 | 241 |
| |
242 | 242 |
| |
243 | 243 |
| |
|
0 commit comments
Comments
(0)