diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-01-22 08:40:19 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-22 09:21:16 -0700 |
| commit | 0105b0562a5ed6374f06e5cd4246a3f1311a65a0 (patch) | |
| tree | c650f7abca5cd50e52d8d4ce431ae9f0a1d98863 /io_uring/tw.h | |
| parent | 7642e668606009fcd3fe1fc161a79ef90403d507 (diff) | |
| download | linux-next-0105b0562a5ed6374f06e5cd4246a3f1311a65a0.tar.gz linux-next-0105b0562a5ed6374f06e5cd4246a3f1311a65a0.zip | |
io_uring: split out CQ waiting code into wait.c
Move the completion queue waiting and scheduling code out of io_uring.c
into a dedicated wait.c file. This further removes code out of the
main io_uring C and header file, and into a topical new file.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/tw.h')
| -rw-r--r-- | io_uring/tw.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/io_uring/tw.h b/io_uring/tw.h index 8683efca58ef..415e330fabde 100644 --- a/io_uring/tw.h +++ b/io_uring/tw.h @@ -9,14 +9,6 @@ #define IO_LOCAL_TW_DEFAULT_MAX 20 /* - * No waiters. It's larger than any valid value of the tw counter - * so that tests against ->cq_wait_nr would fail and skip wake_up(). - */ -#define IO_CQ_WAKE_INIT (-1U) -/* Forced wake up if there is a waiter regardless of ->cq_wait_nr */ -#define IO_CQ_WAKE_FORCE (IO_CQ_WAKE_INIT >> 1) - -/* * Terminate the request if either of these conditions are true: * * 1) It's being executed by the original task, but that task is marked |
