Files
Centos-kernel-stream-9/io_uring
Jeff Moyer 273593f53e io_uring: ensure local task_work is run on wait timeout
JIRA: https://issues.redhat.com/browse/RHEL-21391

commit 6ff1407e24e6fdfa4a16ba9ba551e3d253a26391
Author: Jens Axboe <axboe@kernel.dk>
Date:   Thu Jan 4 12:21:08 2024 -0700

    io_uring: ensure local task_work is run on wait timeout
    
    A previous commit added an earlier break condition here, which is fine if
    we're using non-local task_work as it'll be run on return to userspace.
    However, if DEFER_TASKRUN is used, then we could be leaving local
    task_work that is ready to process in the ctx list until next time that
    we enter the kernel to wait for events.
    
    Move the break condition to _after_ we have run task_work.
    
    Cc: stable@vger.kernel.org
    Fixes: 846072f16eed ("io_uring: mimimise io_cqring_wait_schedule")
    Signed-off-by: Jens Axboe <axboe@kernel.dk>

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
2024-02-05 16:34:25 -05:00
..
2024-02-05 16:34:24 -05:00
2023-05-05 15:25:21 -04:00
2023-04-29 05:15:02 -04:00
2023-11-02 15:31:34 -04:00
2023-11-02 15:31:09 -04:00
2023-11-02 17:26:25 -04:00
2023-04-29 06:20:02 -04:00
2024-01-03 10:02:11 +08:00
2023-11-02 17:26:24 -04:00
2023-11-02 17:26:25 -04:00