[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2] x86/HVM: convert remaining hvm_funcs hook invocations to alt-call
On Thu, Jan 13, 2022 at 12:02 PM Jan Beulich <jbeulich@xxxxxxxx> wrote: > > The aim being to have as few indirect calls as possible (see [1]), > whereas during initial conversion performance was the main aspect and > hence rarely used hooks didn't get converted. Apparently one use of > get_interrupt_shadow() was missed at the time. > > While doing this, drop NULL checks ahead of CPU management and .nhvm_*() > calls when the hook is always present. Also convert the > .nhvm_vcpu_reset() call to alternative_vcall(), as the return value is > unused and the caller has currently no way of propagating it. > > Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Reviewed-by: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |