aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2021-03-03 22:47:04 +0000
committerJens Axboe <[email protected]>2021-03-04 13:38:10 +0000
commitf01272541d2cd7b7f24909d63ea2b028a6a66293 (patch)
tree94b31ecf630b34f0bb9c686aced0dabedaac470a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentio_uring: ensure that threads freeze on suspend (diff)
downloadkernel-f01272541d2cd7b7f24909d63ea2b028a6a66293.tar.gz
kernel-f01272541d2cd7b7f24909d63ea2b028a6a66293.zip
io-wq: ensure all pending work is canceled on exit
If we race on shutting down the io-wq, then we should ensure that any work that was queued after workers shutdown is canceled. Harden the add work check a bit too, checking for IO_WQ_BIT_EXIT and cancel if it's set. Add a WARN_ON() for having any work before we kill the io-wq context. Reported-by: [email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions