-
由 Mikulas Patocka 提交于
mainline inclusion from mainline-5.0-rc1 commit 24113d4878439baf1f23c1a33dfcc340fba66e97 category: bugfix bugzilla: 7220 CVE: NA --------------------------- 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: NMikulas Patocka <mpatocka@redhat.com> Signed-off-by: NMike Snitzer <snitzer@redhat.com> Signed-off-by: Nyangerkun <yangerkun@huawei.com> Reviewed-by: NHou Tao <houtao1@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
05f06295