diff options
author | Felix Moessbauer <felix.moessbauer@siemens.com> | 2024-09-10 19:11:56 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-09-11 07:27:56 -0600 |
commit | 0997aa5497c714edbb349ca366d28bd550ba3408 (patch) | |
tree | a93b91564338bf637de02d9ef7815ec54bee42e8 /tools/thermal | |
parent | 90bfb28d5fa8127a113a140c9791ea0b40ab156a (diff) |
io_uring/io-wq: do not allow pinning outside of cpuset
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: da64d6db3bd3 ("io_uring: One wqe per wq")
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Link: https://lore.kernel.org/r/20240910171157.166423-2-felix.moessbauer@siemens.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions