From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: [PATCH 5/7] kvm tools: enable LTO Date: Thu, 30 Aug 2012 12:35:32 +0400 Message-ID: <20120830083532.GI21422@moon> References: <1346312203-29456-1-git-send-email-levinsasha928@gmail.com> <1346312203-29456-5-git-send-email-levinsasha928@gmail.com> <20120830081654.GA3741@gmail.com> <20120830082217.GG21422@moon> <503F2551.2080909@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Pekka Enberg , Ingo Molnar , asias.hejun@gmail.com, mingo@elte.hu, kvm@vger.kernel.org To: Sasha Levin Return-path: Received: from mail-lb0-f174.google.com ([209.85.217.174]:56932 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752144Ab2H3Ifg (ORCPT ); Thu, 30 Aug 2012 04:35:36 -0400 Received: by lbbgj3 with SMTP id gj3so327799lbb.19 for ; Thu, 30 Aug 2012 01:35:35 -0700 (PDT) Content-Disposition: inline In-Reply-To: <503F2551.2080909@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Aug 30, 2012 at 10:33:21AM +0200, Sasha Levin wrote: > >>> > >>> 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. > > > > Maybe we could enable it via some make option? > > Say make LTO=1 or something? > > Build time went from 6 sec to 14, I don't think it's that significant... At moment. But I bet lkvm will grow with time and build time increase as well. Still if you think we better stick with LTO, no problem, lets do it then ;) Cyrill