diff options
| author | Christoph Hellwig <hch@lst.de> | 2020-04-25 09:53:36 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-04-25 09:45:44 -0600 |
| commit | 8cf7961dab42c9177a556b719c15f5b9449c24d1 (patch) | |
| tree | cf0e7e5d0b7f6f0ee665629b61fc91cc56ed77c7 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | dm: remove the make_request_fn check in device_area_is_invalid (diff) | |
| download | linux-8cf7961dab42c9177a556b719c15f5b9449c24d1.tar.gz linux-8cf7961dab42c9177a556b719c15f5b9449c24d1.zip | |
block: bypass ->make_request_fn for blk-mq drivers
Call blk_mq_make_request when no ->make_request_fn is set. This is
safe now that blk_alloc_queue always sets up the pointer for make_request
based drivers. This avoids an indirect call in the blk-mq driver I/O
fast path, which is rather expensive due to spectre mitigations.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
