Skip to content
Snippets Groups Projects
Commit b5d3ae20 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: handle TIF_NOTIFY_RESUME when checking for task_work


If TIF_NOTIFY_RESUME is set, then we need to call resume_user_mode_work()
for PF_IO_WORKER threads. They never return to usermode, hence never get
a chance to process any items that are marked by this flag. Most notably
this includes the final put of files, but also any throttling markers set
by block cgroups.

Cc: stable@vger.kernel.org # 5.10+
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8572df94
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment