Skip to content
Snippets Groups Projects
Commit 7f44bead authored by Felix Moessbauer's avatar Felix Moessbauer Committed by Jens Axboe
Browse files

io_uring/sqpoll: do not put cpumask on stack


Putting the cpumask on the stack is deprecated for a long time (since
2d3854a3), as these can be big. Given that, change the on-stack
allocation of allowed_mask to be dynamically allocated.

Fixes: f011c9cf ("io_uring/sqpoll: do not allow pinning outside of cpuset")
Signed-off-by: default avatarFelix Moessbauer <felix.moessbauer@siemens.com>
Link: https://lore.kernel.org/r/20240916111150.1266191-1-felix.moessbauer@siemens.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent a09c1724
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment