Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 88c7b2b7 authored by Jens Axboe's avatar Jens Axboe
Browse files

blk-mq: prefetch request in blk_mq_tag_to_rq()



When drivers or the core calls this function, they usually
dereference the request shortly there after. Prefetch the first
cache line.

Profiling IO workloads shows that this is the most common cache
miss on the block side of things.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 8d354f13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment