Merge tag 'io_uring-5.8-2020-07-01' of git://git.kernel.dk/linux-block
Pull io_uring fixes from Jens Axboe: "One fix in here, for a regression in 5.7 where a task is waiting in the kernel for a condition, but that condition won't become true until task_work is run. And the task_work can't be run exactly because the task is waiting in the kernel, so we'll never make any progress. One example of that is registering an eventfd and queueing io_uring work, and then the task goes and waits in eventfd read with the expectation that it'll get woken (and read an event) when the io_uring request completes. The io_uring request is finished through task_work, which won't get run while the task is looping in eventfd read" * tag 'io_uring-5.8-2020-07-01' of git://git.kernel.dk/linux-block: io_uring: use signal based task_work running task_work: teach task_work_add() to do signal_wake_up()
No related branches found
No related tags found
Showing
- fs/io_uring.c 24 additions, 8 deletionsfs/io_uring.c
- include/linux/sched/jobctl.h 3 additions, 1 deletioninclude/linux/sched/jobctl.h
- include/linux/task_work.h 4 additions, 1 deletioninclude/linux/task_work.h
- kernel/signal.c 7 additions, 3 deletionskernel/signal.c
- kernel/task_work.c 14 additions, 2 deletionskernel/task_work.c
Loading
Please register or sign in to comment