diff options
author | 2024-12-18 13:22:45 -0800 | |
---|---|---|
committer | 2025-01-14 10:13:25 -0700 | |
commit | 44e41381591dc5b4ea67a9f170b4ec85c817586e (patch) | |
tree | 66bf9f485c1eb1ae482d7069d8042aa33cd6030b /scripts/generate_rust_analyzer.py | |
parent | Merge tag 'md-6.14-20250113' of https://git.kernel.org/pub/scm/linux/kernel/git/mdraid/linux into for-6.14/block (diff) | |
download | wireguard-linux-44e41381591dc5b4ea67a9f170b4ec85c817586e.tar.xz wireguard-linux-44e41381591dc5b4ea67a9f170b4ec85c817586e.zip |
block: Reorder the request allocation code in blk_mq_submit_bio()
Help the CPU branch predictor in case of a cache hit by handling the cache
hit scenario first.
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20241218212246.1073149-2-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions