mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
io_uring: cap io_sqring_entries() at SQ ring size
We already do this manually for the !SQPOLL case, do it in general and we can also dump the ugly min3() in io_submit_sqes(). Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
2ad57931db
commit
e3ef728ff0
2 changed files with 4 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue