diff options
author | 2020-12-17 00:24:37 +0000 | |
---|---|---|
committer | 2020-12-17 08:40:52 -0700 | |
commit | e23de15fdbd3070446b2d212373c0ae556f63d93 (patch) | |
tree | 2cd3742152ed775b029405d138a7b7aaae97e7fa /kernel/gcov/clang.c | |
parent | io_uring: remove racy overflow list fast checks (diff) | |
download | wireguard-linux-e23de15fdbd3070446b2d212373c0ae556f63d93.tar.xz wireguard-linux-e23de15fdbd3070446b2d212373c0ae556f63d93.zip |
io_uring: consolidate CQ nr events calculation
Add a helper which calculates number of events in CQ. Handcoded version
of it in io_cqring_overflow_flush() is not the clearest thing, so it
makes it slightly more readable.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions