android_kernel_xiaomi_sm8450/io_uring
Felix Moessbauer b12ef2d4df 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
2d3854a37e), 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-10-22 15:39:25 +02:00
..
io_uring.c io_uring/sqpoll: do not put cpumask on stack 2024-10-22 15:39:25 +02:00
io-wq.c io_uring/io-wq: limit retrying worker initialisation 2024-08-19 05:41:03 +02:00
io-wq.h io_uring: break out of iowq iopoll on teardown 2023-09-19 12:20:23 +02:00
Makefile io_uring: import 5.15-stable io_uring 2023-01-04 11:39:23 +01:00