aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-11-26 15:02:04 -0700
committerJens Axboe <axboe@kernel.dk>2019-11-26 15:02:56 -0700
commite944475e69849273ca8f1fe04a3ce81b5901d165 (patch)
tree025ec2f3808ffa90a83691e41273918d99f9a2b3 /net
parentio-wq: shrink io_wq_work a bit (diff)
downloadlinux-dev-e944475e69849273ca8f1fe04a3ce81b5901d165.tar.xz
linux-dev-e944475e69849273ca8f1fe04a3ce81b5901d165.zip
io_uring: make poll->wait dynamically allocated
In the quest to bring io_kiocb down to 3 cachelines, this one does the trick. Make the wait_queue_entry for the poll command come out of kmalloc instead of embedding it in struct io_poll_iocb, as the latter is the largest member of io_kiocb. Once we trim this down a bit, we're back at a healthy 192 bytes for struct io_kiocb. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions