summaryrefslogtreecommitdiff
path: root/fs/io_uring.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-11-26 11:59:32 -0700
committerJens Axboe <axboe@kernel.dk>2019-11-26 15:02:56 -0700
commit6206f0e180d4eddc0a178f57120ab1b913701f6e (patch)
tree2b8867ea99fc8cfdf723e84b624417a966cd44cf /fs/io_uring.c
parent3fc50ab559f5ae400aa33bd0836b3602da7fa51b (diff)
io-wq: shrink io_wq_work a bit
Currently we're using 40 bytes for the io_wq_work structure, and 16 of those is the doubly link list node. We don't need doubly linked lists, we always add to tail to keep things ordered, and any other use case is list traversal with deletion. For the deletion case, we can easily support any node deletion by keeping track of the previous entry. This shrinks io_wq_work to 32 bytes, and subsequently io_kiock from io_uring to 216 to 208 bytes. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io_uring.c')
0 files changed, 0 insertions, 0 deletions