From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH 5/7] kvm tools: enable LTO Date: Thu, 30 Aug 2012 10:16:54 +0200 Message-ID: <20120830081654.GA3741@gmail.com> References: <1346312203-29456-1-git-send-email-levinsasha928@gmail.com> <1346312203-29456-5-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sasha Levin , asias.hejun@gmail.com, mingo@elte.hu, gorcunov@openvz.org, kvm@vger.kernel.org To: Pekka Enberg Return-path: Received: from mail-bk0-f46.google.com ([209.85.214.46]:46259 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752584Ab2H3IRE (ORCPT ); Thu, 30 Aug 2012 04:17:04 -0400 Received: by bkwj10 with SMTP id j10so658224bkw.19 for ; Thu, 30 Aug 2012 01:17:02 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: * Pekka Enberg wrote: > On Thu, Aug 30, 2012 at 10:36 AM, Sasha Levin wrote: > > Build with -flto set, which should enable link-time-optimizations. > > > > I'm not sure if it provides a significant performance increase, but > > it's probably just worth it for catching issues which it may cause. > > > > Signed-off-by: Sasha Levin > > Ingo, any objections to this? No objections if you can live with a 2x-4x increase in build time - at worst it might cause funnies with the BIOS linker script and such. Thanks, Ingo