commit | a282967c848fb1d92c28334430c472da9c334e54 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Mar 27 16:38:15 2023 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Apr 03 07:16:15 2023 -0600 |
tree | b80a46d323b355f5808fea18d2bac21bfd46b6ae | |
parent | 13bfa6f15d0b39254937076ab0557da6875bb455 [diff] |
io_uring: encapsulate task_work state For task works we're passing around a bool pointer for whether the current ring is locked or not, let's wrap it in a structure, that will make it more opaque preventing abuse and will also help us to pass more info in the future if needed. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/1ecec9483d58696e248d1bfd52cf62b04442df1d.1679931367.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>