diff options
| author | Caleb Sander Mateos <[email protected]> | 2025-02-12 00:51:18 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-02-18 17:32:22 +0000 |
| commit | 62aa9805d123165102273eb277f776aaca908e0e (patch) | |
| tree | 6560f9e4b14e2eacbcaead30cff07ba1ceff339b /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | io_uring: pass struct io_tw_state by value (diff) | |
| download | kernel-62aa9805d123165102273eb277f776aaca908e0e.tar.gz kernel-62aa9805d123165102273eb277f776aaca908e0e.zip | |
io_uring: use lockless_cq flag in io_req_complete_post()
io_uring_create() computes ctx->lockless_cq as:
ctx->task_complete || (ctx->flags & IORING_SETUP_IOPOLL)
So use it to simplify that expression in io_req_complete_post().
Signed-off-by: Caleb Sander Mateos <[email protected]>
Reviewed-by: Li Zetao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
