diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-09-24 21:59:44 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-19 05:49:53 -0600 |
commit | 6f33b0bc4ea43f5c5ce7b7c9ab66051f80837862 (patch) | |
tree | c12f5df754d4b7d33f0b6157f39a2c0a99521450 /fs/io-wq.h | |
parent | 5ba3c874eb8acb09fd8aea78ded67e023931894a (diff) | |
download | lwn-6f33b0bc4ea43f5c5ce7b7c9ab66051f80837862.tar.gz lwn-6f33b0bc4ea43f5c5ce7b7c9ab66051f80837862.zip |
io_uring: use slist for completion batching
Currently we collect requests for completion batching in an array.
Replace them with a singly linked list. It's as fast as arrays but
doesn't take some much space in ctx, and will be used in future patches.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/a666826f2854d17e9fb9417fb302edfeb750f425.1632516769.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.h')
0 files changed, 0 insertions, 0 deletions