Commit cfda109
Re-submit wakeup read immediately on completion (simulated multi-shot).
Instead of waiting until the next select() call to re-register the
wakeup eventfd read, re-submit it immediately in select_process_completions
while still on the owner thread. This keeps a read always pending and
removes one SQE submission from the hot blocking-wait path.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 800cda7 commit cfda109
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1175 | 1175 | | |
1176 | 1176 | | |
1177 | 1177 | | |
1178 | | - | |
1179 | | - | |
1180 | | - | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
1181 | 1181 | | |
1182 | | - | |
1183 | 1182 | | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
1184 | 1191 | | |
1185 | 1192 | | |
1186 | 1193 | | |
| |||
0 commit comments