forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc8f3bc2
committed
Optimize latches to send fewer signals.
Don't send signals to processes that aren't sleeping.Author: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/CA+hUKGJjxPDpzBE0a3hyUywBvaZuC89yx3jK9RFZgfv_KHU7gg@mail.gmail.com1 parentd1b9099 commitc8f3bc2
2 files changed
+25
-0
lines changedLines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
274 | 274 |
| |
275 | 275 |
| |
276 | 276 |
| |
| 277 | + | |
277 | 278 |
| |
278 | 279 |
| |
279 | 280 |
| |
| |||
321 | 322 |
| |
322 | 323 |
| |
323 | 324 |
| |
| 325 | + | |
324 | 326 |
| |
325 | 327 |
| |
326 | 328 |
| |
| |||
523 | 525 |
| |
524 | 526 |
| |
525 | 527 |
| |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
526 | 532 |
| |
527 | 533 |
| |
528 | 534 |
| |
| |||
589 | 595 |
| |
590 | 596 |
| |
591 | 597 |
| |
| 598 | + | |
592 | 599 |
| |
593 | 600 |
| |
594 | 601 |
| |
| |||
1270 | 1277 |
| |
1271 | 1278 |
| |
1272 | 1279 |
| |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
1273 | 1288 |
| |
1274 | 1289 |
| |
1275 | 1290 |
| |
| |||
1280 | 1295 |
| |
1281 | 1296 |
| |
1282 | 1297 |
| |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
1283 | 1301 |
| |
1284 | 1302 |
| |
1285 | 1303 |
| |
| |||
1291 | 1309 |
| |
1292 | 1310 |
| |
1293 | 1311 |
| |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
1294 | 1318 |
| |
1295 | 1319 |
| |
1296 | 1320 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
| 113 | + | |
113 | 114 |
| |
114 | 115 |
| |
115 | 116 |
| |
|
0 commit comments
Comments
(0)