aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/io_uring/opdef.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-09-03 09:52:01 -0600
committerJens Axboe <axboe@kernel.dk>2022-09-21 10:30:43 -0600
commitdac6a0eae793f53c62a0f83d9f5423293a7845c4 (patch)
tree35f95f765ca36d7c2f4abcfc82d3b6659410139a /io_uring/opdef.c
parentio_uring: add local task_work run helper that is entered locked (diff)
downloadwireguard-linux-dac6a0eae793f53c62a0f83d9f5423293a7845c4.tar.xz
wireguard-linux-dac6a0eae793f53c62a0f83d9f5423293a7845c4.zip
io_uring: ensure iopoll runs local task work as well
Combine the two checks we have for task_work running and whether or not we need to shuffle the mutex into one, so we unify how task_work is run in the iopoll loop. This helps ensure that local task_work is run when needed, and also optimizes that path to avoid a mutex shuffle if it's not needed. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/opdef.c')
0 files changed, 0 insertions, 0 deletions