diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-09-14 11:07:26 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-30 20:32:33 -0600 |
commit | c8d1ba583fe67c6b5e054d89f1433498a924286f (patch) | |
tree | 9084b57baac94b201e831aa3d54088db1ac90353 /tools/perf/scripts/python/stackcollapse.py | |
parent | 3f0e64d054114b725569c2481bbc6a8eb538bf15 (diff) |
io_uring: split work handling part of SQPOLL into helper
This is done in preparation for handling more than one ctx, but it also
cleans up the code a bit since io_sq_thread() was a bit too unwieldy to
get a get overview on.
__io_sq_thread() is now the main handler, and it returns an enum sq_ret
that tells io_sq_thread() what it ended up doing. The parent then makes
a decision on idle, spinning, or work handling based on that.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions