Commit 1448ac6
committed
event/Loop: don't wait for io_uring if epoll is still ready
This fixes a starvation bug if epoll is getting hammered with
completions. This fills the io_uring completion queue until it
overflows, but these overflows are never picked up because we never
invoke io_uring_enter().
We avoid this by calling io_uring_enter() in any case, but with a zero
timeout.1 parent f4bb050 commit 1448ac6
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
419 | 424 | | |
420 | 425 | | |
421 | 426 | | |
| |||
0 commit comments