aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_ialloc_btree.c
diff options
context:
space:
mode:
authorFelix Moessbauer <[email protected]>2024-09-10 19:11:56 +0200
committerJens Axboe <[email protected]>2024-09-11 07:27:56 -0600
commit0997aa5497c714edbb349ca366d28bd550ba3408 (patch)
treea93b91564338bf637de02d9ef7815ec54bee42e8 /fs/xfs/libxfs/xfs_ialloc_btree.c
parent90bfb28d5fa8127a113a140c9791ea0b40ab156a (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 'fs/xfs/libxfs/xfs_ialloc_btree.c')
0 files changed, 0 insertions, 0 deletions