]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: only initialize io_kiocb rsrc_nodes when needed
authorJens Axboe <axboe@kernel.dk>
Sat, 26 Oct 2024 16:46:10 +0000 (10:46 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 2 Nov 2024 21:44:30 +0000 (15:44 -0600)
commitf38f2847646f8be29a8fcb722e8b1dc8c8cb3924
treecc7579041ea91589187121ff45cd43977ac79f17
parent0701db7439208951c8a7d8600668e5cfdd5f63d2
io_uring: only initialize io_kiocb rsrc_nodes when needed

Add the empty node initializing to the preinit part of the io_kiocb
allocation, and reset them if they have been used.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/rsrc.h