Re: [PATCH 14/17] KVM: monolithic: x86: inline more exit handlers in vmx.c

From: Andrea Arcangeli
Date: Mon Sep 23 2019 - 21:01:01 EST


On Mon, Sep 23, 2019 at 12:19:12PM +0200, Paolo Bonzini wrote:
> On 20/09/19 23:25, Andrea Arcangeli wrote:
> > They can be called directly more efficiently, so we can as well mark
> > some of them inline in case gcc doesn't decide to inline them.
>
> What is the output of size(1) before and after?

Before and after this specific commit there is a difference with gcc 8.3.

full patchset applied

753699 87971 9616 851286 cfd56 build/arch/x86/kvm/kvm-intel.ko

git revert

753739 87971 9616 851326 cfd7e build/arch/x86/kvm/kvm-intel.ko

git reset --hard HEAD^

753699 87971 9616 851286 cfd56 build/arch/x86/kvm/kvm-intel.ko

git revert

753739 87971 9616 851326 cfd7e build/arch/x86/kvm/kvm-intel.ko