diff options
author | Felix Moessbauer <[email protected]> | 2024-09-10 19:11:56 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-09-11 07:27:56 -0600 |
commit | 0997aa5497c714edbb349ca366d28bd550ba3408 (patch) | |
tree | a93b91564338bf637de02d9ef7815ec54bee42e8 /drivers/clocksource/hyperv_timer.c | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/clocksource/hyperv_timer.c')
0 files changed, 0 insertions, 0 deletions