diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-06-14 18:34:50 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-06-16 14:54:55 -0600 |
commit | 11d194669271642a5d1bfff6c8011478309e7849 (patch) | |
tree | 8f2ad5888b2d155ac4200a3c5b7424a41f2916a6 /io_uring/poll.h | |
parent | 3474d1b93f897ab33ce160e759afd47d5f412de4 (diff) |
io_uring/rsrc: remove redundant __set_current_state() post schedule()
We're guaranteed to be in a TASK_RUNNING state post schedule, so we
never need to set the state after that. While in there, remove the
other __set_current_state() as well, and just call finish_wait()
when we now we're going to break anyway. This is easier to grok than
manual __set_current_state() calls.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/poll.h')
0 files changed, 0 insertions, 0 deletions