kernel_samsung_a53x/io_uring
Felix Moessbauer 43d03276a6 io_uring/sqpoll: do not put cpumask on stack
commit 7f44beadcc11adb98220556d2ddbe9c97aa6d42d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:21:55 +01:00
..
io-wq.c io_uring/io-wq: limit retrying worker initialisation 2024-11-23 23:20:16 +01:00
io-wq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_uring.c io_uring/sqpoll: do not put cpumask on stack 2024-11-23 23:21:55 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00