diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-03-27 22:10:21 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-04-03 16:16:15 +0300 |
commit | 07d99096e1635805fb7c60382dc12554886a39b8 (patch) | |
tree | 76a3e243deee02063c11ae5b34427ade1592c85d /io_uring | |
parent | d322818ef4c752d79cd667474418691237aa9ccf (diff) | |
download | linux-07d99096e1635805fb7c60382dc12554886a39b8.tar.xz |
io_uring/io-wq: drop outdated comment
Since the move to PF_IO_WORKER, we don't juggle memory context manually
anymore. Remove that outdated part of the comment for __io_worker_idle().
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
-rw-r--r-- | io_uring/io-wq.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/io_uring/io-wq.c b/io_uring/io-wq.c index 2b0b2e33cd71..b2715988791e 100644 --- a/io_uring/io-wq.c +++ b/io_uring/io-wq.c @@ -415,11 +415,7 @@ static void __io_worker_busy(struct io_wq *wq, struct io_worker *worker) } /* - * No work, worker going to sleep. Move to freelist, and unuse mm if we - * have one attached. Dropping the mm may potentially sleep, so we drop - * the lock in that case and return success. Since the caller has to - * retry the loop in that case (we changed task state), we don't regrab - * the lock if we return success. + * No work, worker going to sleep. Move to freelist. */ static void __io_worker_idle(struct io_wq *wq, struct io_worker *worker) __must_hold(wq->lock) |