]> Git Repo - linux.git/commit
dm: avoid indirect call in __dm_make_request
authorMikulas Patocka <[email protected]>
Tue, 6 Nov 2018 21:34:59 +0000 (22:34 +0100)
committerMike Snitzer <[email protected]>
Tue, 18 Dec 2018 14:02:25 +0000 (09:02 -0500)
commit24113d4878439baf1f23c1a33dfcc340fba66e97
tree8a5111ada71d026b290b7c009e79b28c99fbcdf5
parentcd19181bf9ad4b7f40f2a4e0355d052109c76529
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 <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
drivers/md/dm.c
This page took 0.052978 seconds and 4 git commands to generate.