4 ms·
There aren't many static calls yet, but for example I am planning to use them for KVM (which has lots of indirect calls in order to support both Intel and AMD v
by bonzini 6y ago
There aren't many static calls yet, but for example I am planning to use them for KVM (which has lots of indirect calls in order to support both Intel and AMD virtualization extensions). Besides some improvements in sheer cycle count, it would also allow some code cleanups, removing code that has to be duplicated to avoid sticking a retpoline in the middle of a hot path.