summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-rq.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2018-11-06 22:34:59 +0100
committerMike Snitzer <snitzer@redhat.com>2018-12-18 15:02:25 +0100
commit24113d4878439baf1f23c1a33dfcc340fba66e97 (patch)
tree8a5111ada71d026b290b7c009e79b28c99fbcdf5 /drivers/md/dm-rq.c
parentblk-mq: enable IO poll if .nr_queues of type poll > 0 (diff)
downloadlinux-24113d4878439baf1f23c1a33dfcc340fba66e97.tar.xz
linux-24113d4878439baf1f23c1a33dfcc340fba66e97.zip
dm: avoid indirect call in __dm_make_request
Indirect calls are inefficient because of retpolines that are used for spectre workaround. This patch replaces an indirect call with a condition (that can be predicted by the branch predictor). Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-rq.c')
0 files changed, 0 insertions, 0 deletions