Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1391107ybn; Wed, 25 Sep 2019 17:38:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqznsWTo6O/Tje9ZwWSL60oU18QUe0x2MS1W3XcptU+PjZFefLX46gk5vve3N4ymaCyngUtI X-Received: by 2002:a17:906:409b:: with SMTP id u27mr800940ejj.295.1569458299126; Wed, 25 Sep 2019 17:38:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569458299; cv=none; d=google.com; s=arc-20160816; b=cLZEJRrIh4PjAN3+rRQh1D046xvwh0vBeh+d7v5ubKLmLeHWIh8fMr2h/K/Ah4jaV+ deqlsC/3abrerCPm79NFqMDC8Sx3w5AySoZam7UUci5mJle4+fySfw7rhaR//2tcoJE9 YVaSviar5rrDyUoADVOxFY2cJVJiQc2C0wiG9iwL/9Le1+D8eGvIhHGxwydamXCY4SXP WdwsTQXvgfUcc8/ZjTECPix2p+0nxWogq4jTjclSYb11wv45R0q57YsyJGegKkMXAHaw +wTLNJ7iV2m+Dj3A0viadOYdZ9wMc/z/s+s7giGepJIm+NTEBP1BQxXHvp1JysGOs90S 1a+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=AH9pegTpfl9ThB2pi4DOajX/svBDe2L/qpczO7J1zOA=; b=HymhghGC4n4fC1e9kuDGFiAlwIWjkHz7T9JkiOhh+1Fq8tgs7XAJiW+AG+pIpcfjru JQMpdk42UmITFoRAqDMv2AZ3o6DIJo1VIOkgpdIiPNPYxtEiJnlMZc6RgpZ3GSTOqcS4 ulSiVMRM0J8PR+ralHeIvEDQ9UcfaUfkP13t/wO4crSwWM0CSZBEKoYWnV/TtatztX3Z rloFqrzvc8eYnY/ASSi2K5udexel+HnOzLAjDt5jDSR1NFpfG6N0RtdPTuySZC0i7qcR CjWWdvEJ6dd+4teHB5r+0+bbOKabEwX2Ek1+FZf3M8LMl59iWuchdd4qG7Cez4hYx1C1 oqhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11si223921ejb.240.2019.09.25.17.37.55; Wed, 25 Sep 2019 17:38:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2503717AbfIXBBA (ORCPT + 99 others); Mon, 23 Sep 2019 21:01:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33400 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2503707AbfIXBBA (ORCPT ); Mon, 23 Sep 2019 21:01:00 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 49E01308A9E0; Tue, 24 Sep 2019 01:01:00 +0000 (UTC) Received: from mail (ovpn-120-159.rdu2.redhat.com [10.10.120.159]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 835825D713; Tue, 24 Sep 2019 01:00:57 +0000 (UTC) Date: Mon, 23 Sep 2019 21:00:56 -0400 From: Andrea Arcangeli To: Paolo Bonzini Cc: Vitaly Kuznetsov , "Dr. David Alan Gilbert" , Marcelo Tosatti , Peter Xu , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 14/17] KVM: monolithic: x86: inline more exit handlers in vmx.c Message-ID: <20190924010056.GB4658@redhat.com> References: <20190920212509.2578-1-aarcange@redhat.com> <20190920212509.2578-15-aarcange@redhat.com> <6a1d66a1-74c0-25b9-692f-8875e33b2fae@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6a1d66a1-74c0-25b9-692f-8875e33b2fae@redhat.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Tue, 24 Sep 2019 01:01:00 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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