summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorFelix Moessbauer <felix.moessbauer@siemens.com>2024-09-16 14:11:50 +0300
committerJens Axboe <axboe@kernel.dk>2024-09-16 16:49:08 +0300
commit7f44beadcc11adb98220556d2ddbe9c97aa6d42d (patch)
tree9b80ad38951311de1c6498d3b52f446a0eba69d7 /rust/helpers/build_bug.c
parenta09c17240bdf2e9fa6d0591afa9448b59785f7d4 (diff)
downloadlinux-7f44beadcc11adb98220556d2ddbe9c97aa6d42d.tar.xz
io_uring/sqpoll: do not put cpumask on stack
Putting the cpumask on the stack is deprecated for a long time (since 2d3854a37e8), as these can be big. Given that, change the on-stack allocation of allowed_mask to be dynamically allocated. Fixes: f011c9cf04c0 ("io_uring/sqpoll: do not allow pinning outside of cpuset") Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com> Link: https://lore.kernel.org/r/20240916111150.1266191-1-felix.moessbauer@siemens.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions