diff options
| author | Jianchao Wang <[email protected]> | 2019-01-24 18:25:32 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-02-01 08:33:04 -0700 |
| commit | 8ccdf4a3775229314c8bd365ac88c2cbdf36be13 (patch) | |
| tree | 8b6c6835912bb3f3076d6694ba264072ae5921b6 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 058fdecc6de7cdecbf4c59b851e80eb2d6c5295f (diff) | |
blk-mq: save queue mapping result into ctx directly
Currently, the queue mapping result is saved in a two-dimensional
array. In the hot path, to get a hctx, we need do following:
q->queue_hw_ctx[q->tag_set->map[type].mq_map[cpu]]
This isn't very efficient. We could save the queue mapping result into
ctx directly with different hctx type, like,
ctx->hctxs[type]
Signed-off-by: Jianchao Wang <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions