Jens Axboe 9fe3eaea4a io_uring: remove unconditional looping in local task_work handling
If we have a ton of notifications coming in, we can be looping in here
for a long time. This can be problematic for various reasons, mostly
because we can starve userspace. If the application is waiting on N
events, then only re-run if we need more events.

Fixes: c0e0d6ba25f1 ("io_uring: add IORING_SETUP_DEFER_TASKRUN")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-02-08 13:27:06 -07:00
..
2023-12-29 11:58:41 -08:00
2022-12-07 06:47:13 -07:00
2022-07-24 18:39:11 -06:00
2024-02-08 13:27:06 -07:00
2022-07-24 18:39:14 -06:00
2023-08-11 10:42:57 -06:00
2024-01-11 14:19:23 -08:00
2024-02-06 19:55:14 -07:00