diff options
| author | Jens Axboe <[email protected]> | 2025-05-16 19:39:32 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-05-18 00:47:19 +0000 |
| commit | f660fd2ca15a3743f65f6110ae60d5b80500d856 (patch) | |
| tree | 9c68af6d3cb340bb0c90bae66c86cf1aa3da0735 /io_uring/timeout.c | |
| parent | io_uring: pass in struct io_big_cqe to io_alloc_ocqe() (diff) | |
| download | kernel-f660fd2ca15a3743f65f6110ae60d5b80500d856.tar.gz kernel-f660fd2ca15a3743f65f6110ae60d5b80500d856.zip | |
io_uring: add new helpers for posting overflows
Add two helpers, one for posting overflows for lockless_cq rings, and
one for non-lockless_cq rings. The former can allocate sanely with
GFP_KERNEL, but needs to grab the completion lock for posting, while the
latter must do non-sleeping allocs as it already holds the completion
lock.
While at it, mark the overflow handling functions as __cold as well, as
they should not generally be called during normal operations of the
ring.
Reviewed-by: Caleb Sander Mateos <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'io_uring/timeout.c')
0 files changed, 0 insertions, 0 deletions
