Skip to content
Snippets Groups Projects
Forked from drm / kernel
43024 commits behind the upstream repository.
user avatar
Felix Moessbauer authored
The io worker threads are userland threads that just never exit to the
userland. By that, they are also assigned to a cgroup (the group of the
creating task).

When changing the affinity of the io_wq thread via syscall, we must only
allow cpumasks within the limits defined by the cpuset controller of the
cgroup (if enabled).

Fixes: da64d6db ("io_uring: One wqe per wq")
Signed-off-by: default avatarFelix Moessbauer <felix.moessbauer@siemens.com>
Link: https://lore.kernel.org/r/20240910171157.166423-2-felix.moessbauer@siemens.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
0997aa54
History