diff options
author | 2022-06-16 10:22:06 +0100 | |
---|---|---|
committer | 2022-07-24 18:39:13 -0600 | |
commit | 8b1dfd343ae6a64ca2b4741ab47a162fa59f43be (patch) | |
tree | 192cfef0d9222991eaf139edd27b383846224c20 /io_uring/timeout.c | |
parent | io_uring: limit the number of cancellation buckets (diff) | |
download | wireguard-linux-8b1dfd343ae6a64ca2b4741ab47a162fa59f43be.tar.xz wireguard-linux-8b1dfd343ae6a64ca2b4741ab47a162fa59f43be.zip |
io_uring: clean up io_ring_ctx_alloc
Add a variable for the number of hash buckets in io_ring_ctx_alloc(),
makes it more readable.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/993926ed0d614ba9a76b2a85bebae2babcb13983.1655371007.git.asml.silence@gmail.com
Reviewed-by: Hao Xu <howeyxu@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/timeout.c')
0 files changed, 0 insertions, 0 deletions