summaryrefslogtreecommitdiff
path: root/include/linux/fs.h
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 /include/linux/fs.h
parent8ac5d85a89b48269e5aefb92b640d38367670a1b (diff)
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 'include/linux/fs.h')
0 files changed, 0 insertions, 0 deletions