summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-04-26 04:49:04 +0300
committerJens Axboe <axboe@kernel.dk>2022-04-30 17:39:54 +0300
commitef060ea9e4fd3b763e7060a3af0a258d2d5d7c0d (patch)
treea6e8cdee8be4ef17024911f33f45894e3ae038bc /include/linux
parente1169f06d5bbdbc2b22ae4e3083a4bf75ae5ecee (diff)
downloadlinux-ef060ea9e4fd3b763e7060a3af0a258d2d5d7c0d.tar.xz
io_uring: add IORING_SETUP_TASKRUN_FLAG
If IORING_SETUP_COOP_TASKRUN is set to use cooperative scheduling for running task_work, then IORING_SETUP_TASKRUN_FLAG can be set so the application can tell if task_work is pending in the kernel for this ring. This allows use cases like io_uring_peek_cqe() to still function appropriately, or for the task to know when it would be useful to call io_uring_wait_cqe() to run pending events. Reviewed-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/20220426014904.60384-7-axboe@kernel.dk Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions