summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorLi Chen <me@linux.beauty>2026-02-02 22:37:54 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-16 10:19:40 +0100
commit1658b66fed206b5417cc301d67e888fd67dd130a (patch)
tree9d81e1104a665347bcc06558634b1222e293084b /include/net/aligned_data.h
parentf02693a40e40702cb6201145379e21634dfbe20d (diff)
io_uring: allow io-wq workers to exit when unused
commit 91214661489467f8452d34edbf257488d85176e4 upstream. io_uring keeps a per-task io-wq around, even when the task no longer has any io_uring instances. If the task previously used io_uring for file I/O, this can leave an unrelated iou-wrk-* worker thread behind after the last io_uring instance is gone. When the last io_uring ctx is removed from the task context, mark the io-wq exit-on-idle so workers can go away. Clear the flag on subsequent io_uring usage. Signed-off-by: Li Chen <me@linux.beauty> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions