diff options
| author | 2022-09-03 09:52:01 -0600 | |
|---|---|---|
| committer | 2022-09-21 10:30:43 -0600 | |
| commit | dac6a0eae793f53c62a0f83d9f5423293a7845c4 (patch) | |
| tree | 35f95f765ca36d7c2f4abcfc82d3b6659410139a /include | |
| parent | io_uring: add local task_work run helper that is entered locked (diff) | |
| download | linux-dev-dac6a0eae793f53c62a0f83d9f5423293a7845c4.tar.xz linux-dev-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 'include')
0 files changed, 0 insertions, 0 deletions
