summaryrefslogtreecommitdiff
path: root/rust/kernel/workqueue.rs
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-12-19 19:32:26 +0300
committerJens Axboe <axboe@kernel.dk>2024-12-19 19:32:26 +0300
commitc261e4f1dd29fabab54b325bc1da8769a3998be1 (patch)
tree23d1a4d47e86e800a4a1ed61bcc2c968e4bb0800 /rust/kernel/workqueue.rs
parent12d908116f7efd34f255a482b9afc729d7a5fb78 (diff)
downloadlinux-c261e4f1dd29fabab54b325bc1da8769a3998be1.tar.xz
io_uring/register: limit ring resizing to DEFER_TASKRUN
With DEFER_TASKRUN, we know the ring can't be both waited upon and resized at the same time. This is important for CQ resizing. Allowing SQ ring resizing is more trivial, but isn't the interesting use case. Hence limit ring resizing in general to DEFER_TASKRUN only for now. This isn't a huge problem as CQ ring resizing is generally the most useful on networking type of workloads where it can be hard to size the ring appropriately upfront, and those should be using DEFER_TASKRUN for better performance. Fixes: 79cfe9e59c2a ("io_uring/register: add IORING_REGISTER_RESIZE_RINGS") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions