diff options
| author | Pavel Begunkov <[email protected]> | 2021-02-20 18:03:50 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-02-20 19:02:45 -0700 |
| commit | 88f171ab7798a1ed0b9e39867ee16f307466e870 (patch) | |
| tree | ebf5d995e9e60ac00006956613065a9cde92428c /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | f2303b1f8244d88ffca28d3be6166ce4835cc27a (diff) | |
io_uring: wait potential ->release() on resurrect
There is a short window where percpu_refs are already turned zero, but
we try to do resurrect(). Play nicer and wait for ->release() to happen
in this case and proceed as everything is ok. One downside for ctx refs
is that we can ignore signal_pending() on a rare occasion, but someone
else should check for it later if needed.
Cc: <[email protected]> # 5.5+
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions