diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-01-24 18:24:25 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-01-30 01:17:41 +0300 |
commit | b5d3ae202fbfe055aa2a8ae8524531ee1dcab717 (patch) | |
tree | 21b73092fdd7d7a71416854091912ae9e7b75e52 /io_uring/timeout.c | |
parent | 8572df941cbef2b295282535b013828e7df39471 (diff) | |
download | linux-b5d3ae202fbfe055aa2a8ae8524531ee1dcab717.tar.xz |
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: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/timeout.c')
0 files changed, 0 insertions, 0 deletions