diff options
author | Max Kellermann <max.kellermann@ionos.com> | 2025-01-28 14:39:21 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-02-17 05:34:45 -0700 |
commit | 3d3bafd35fb422eb36cfc5709473cef7400588e7 (patch) | |
tree | 22326f859a4dcd619e34504d4e65c09cd325621c /tools/perf/scripts/python | |
parent | 3c75635f8ed482300931327847c50068a865a648 (diff) |
io_uring/io-wq: add io_worker.acct pointer
This replaces the `IO_WORKER_F_BOUND` flag. All code that checks this
flag is not interested in knowing whether this is a "bound" worker;
all it does with this flag is determine the `io_wq_acct` pointer. At
the cost of an extra pointer field, we can eliminate some fragile
pointer arithmetic. In turn, the `create_index` and `index` fields
are not needed anymore.
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Link: https://lore.kernel.org/r/20250128133927.3989681-3-max.kellermann@ionos.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions