diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-06-15 03:34:50 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-06-16 23:54:55 +0300 |
commit | 11d194669271642a5d1bfff6c8011478309e7849 (patch) | |
tree | 8f2ad5888b2d155ac4200a3c5b7424a41f2916a6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3474d1b93f897ab33ce160e759afd47d5f412de4 (diff) | |
download | linux-11d194669271642a5d1bfff6c8011478309e7849.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions