aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2020-06-17 21:00:04 +0000
committerJens Axboe <[email protected]>2020-06-17 21:05:08 +0000
commit56952e91acc93ed624fe9da840900defb75f1323 (patch)
tree0e3cbc16f147b9fdd243a296b2d139df000bf2cc /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentio_uring: acquire 'mm' for task_work for SQPOLL (diff)
downloadkernel-56952e91acc93ed624fe9da840900defb75f1323.tar.gz
kernel-56952e91acc93ed624fe9da840900defb75f1323.zip
io_uring: reap poll completions while waiting for refs to drop on exit
If we're doing polled IO and end up having requests being submitted async, then completions can come in while we're waiting for refs to drop. We need to reap these manually, as nobody else will be looking for them. Break the wait into 1/20th of a second time waits, and check for done poll completions if we time out. Otherwise we can have done poll completions sitting in ctx->poll_list, which needs us to reap them but we're just waiting for them. Cc: [email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions