Commit 3f0c4ed
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 2d2a1a2 commit 3f0c4ed
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
415 | 420 | | |
416 | 421 | | |
417 | 422 | | |
| |||
0 commit comments