summaryrefslogtreecommitdiffstats
path: root/net/9p/client.c
diff options
context:
space:
mode:
authorJianchao Wang2019-01-24 11:25:32 +0100
committerJens Axboe2019-02-01 16:33:04 +0100
commit8ccdf4a3775229314c8bd365ac88c2cbdf36be13 (patch)
tree8b6c6835912bb3f3076d6694ba264072ae5921b6 /net/9p/client.c
parentblock, bfq: fix in-service-queue check for queue merging (diff)
downloadkernel-qcow2-linux-8ccdf4a3775229314c8bd365ac88c2cbdf36be13.tar.gz
kernel-qcow2-linux-8ccdf4a3775229314c8bd365ac88c2cbdf36be13.tar.xz
kernel-qcow2-linux-8ccdf4a3775229314c8bd365ac88c2cbdf36be13.zip
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 <jianchao.w.wang@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/9p/client.c')
0 files changed, 0 insertions, 0 deletions