diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-01-31 20:50:08 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-02-08 23:27:06 +0300 |
commit | 9fe3eaea4a3530ca34a8d8ff00b1848c528789ca (patch) | |
tree | d09be909889d4d87d147b24843f7393e7e5fb4d1 /mm/list_lru.c | |
parent | 670d9d3df8808b39430ade7a04b38363971167f5 (diff) | |
download | linux-9fe3eaea4a3530ca34a8d8ff00b1848c528789ca.tar.xz |
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>
Diffstat (limited to 'mm/list_lru.c')
0 files changed, 0 insertions, 0 deletions