aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2022-11-25 16:36:29 +0000
committerJens Axboe <[email protected]>2022-11-25 17:55:08 +0000
commit7cfe7a09489c1cefee7181e07b5f2bcbaebd9f41 (patch)
tree2b7d696853a5ffdf093132952557e84286eff5d9 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentio_uring/poll: fix poll_refs race with cancelation (diff)
downloadkernel-7cfe7a09489c1cefee7181e07b5f2bcbaebd9f41.tar.gz
kernel-7cfe7a09489c1cefee7181e07b5f2bcbaebd9f41.zip
io_uring: clear TIF_NOTIFY_SIGNAL if set and task_work not available
With how task_work is added and signaled, we can have TIF_NOTIFY_SIGNAL set and no task_work pending as it got run in a previous loop. Treat TIF_NOTIFY_SIGNAL like get_signal(), always clear it if set regardless of whether or not task_work is pending to run. Cc: [email protected] Fixes: 46a525e199e4 ("io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL") Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions