From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [PATCH 0/3] Prepare kvm for lto Date: Thu, 13 Sep 2012 08:50:38 -0700 Message-ID: <20120913155038.GD4092@tassilo.jf.intel.com> References: <1347461444-3644-1-git-send-email-avi@redhat.com> <20120912191736.GA4092@tassilo.jf.intel.com> <505198FF.2020501@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Marcelo Tosatti , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mga09.intel.com ([134.134.136.24]:51476 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758266Ab2IMPui (ORCPT ); Thu, 13 Sep 2012 11:50:38 -0400 Content-Disposition: inline In-Reply-To: <505198FF.2020501@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Sep 13, 2012 at 11:27:43AM +0300, Avi Kivity wrote: > On 09/12/2012 10:17 PM, Andi Kleen wrote: > > On Wed, Sep 12, 2012 at 05:50:41PM +0300, Avi Kivity wrote: > >> vmx.c has an lto-unfriendly bit, fix it up. > >> > >> While there, clean up our asm code. > >> > >> Avi Kivity (3): > >> KVM: VMX: Make lto-friendly > >> KVM: VMX: Make use of asm.h > >> KVM: SVM: Make use of asm.h > > > > Works for me in my LTO build, thanks Avi. > > I cannot guarantee I always hit the unit splitting case, but it looks > > good so far. > > Actually I think patch 1 is missing a .global vmx_return. Ok can you add it please? It always depends how the LTO partitioner decides to split the subunits. I can run it with randomconfig in a loop over night. That's the best way I know to try to cover these cases. -Andi