Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp867956ybb; Fri, 20 Mar 2020 09:21:54 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvkbzcku856JdQMjbmNe5PwZTiK5Gux0ieEinKDySeZEuTvjr5qj51U4A645laXZTL0xZtd X-Received: by 2002:a05:6830:19ce:: with SMTP id p14mr7238596otp.362.1584721314483; Fri, 20 Mar 2020 09:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584721314; cv=none; d=google.com; s=arc-20160816; b=A3h+CgflO/80A3lXwK8O45Kxnac09NSxymaExgDS1TsDKXWFUL2CORSAe0b2pV5vVG cTmpdHV0QvQLUoBb1H6kE4xzLMkjJTbRM0lxmZCV1g4uqMGWlp2RyzRQy+y71WwPULPh +D0+oLZCOC+27ycWDad8OfEdPHNVBKNSI9SXpb7MLYN72O+HoSsLtrUSBrH9A1+oZTEe EU6Dc+e6SiYgJQsoF+yDntc7QeYK+OAoPa3jjBMNpSHW01JK7wj6fY3VlPPmCX037J3z L5uxOoo4aCPjkE9x3lpTqhgNQujd5WbuhqPwqVtEldYT2jZ9eDBuoA2tYSVbqsF3isCb jRkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=T1chOtHP+ujHpnGVij+toyy0qkiRUBu/5OLR9l4xKxE=; b=xSw8XP2PgQ2TM8lX91PiOHbgQSbOC5BoCoZ+VV9NpLgk13b3w7EoMaT4ZOCn/Msxnn orWm3snPE+Ka6LT11N2TWFUqD3f+uN2IbXsJTrGMwXYPej6kBgZ7FYcl/ExyWQNYdpw3 cVbHaDdsV+EfjEPmkRApvSnXyIoeQ28kbfAEB7l0bfTSq31Gu6Bd+2v+5+6r5O/ybIuS ZaG77vEu6gO/VhUWXsD+iHoaZ6Ej0hHu5EJzKwoHO/FpdL86RKm9Bfwe0k5XBZfYybBX O2dieBzP2qH+vsRW69e1x3y8jVv3WLL1BP3PynfSQOt9zYuzLGQ1nRiJW+07QpOUIRNt oDkQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z24si3344105otp.159.2020.03.20.09.21.40; Fri, 20 Mar 2020 09:21:54 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727801AbgCTQUu (ORCPT + 99 others); Fri, 20 Mar 2020 12:20:50 -0400 Received: from mx2.suse.de ([195.135.220.15]:40720 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727754AbgCTQUt (ORCPT ); Fri, 20 Mar 2020 12:20:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id C2132B13C; Fri, 20 Mar 2020 16:20:47 +0000 (UTC) Date: Fri, 20 Mar 2020 17:20:47 +0100 (CET) From: Miroslav Benes To: Peter Zijlstra cc: tglx@linutronix.de, jpoimboe@redhat.com, linux-kernel@vger.kernel.org, x86@kernel.org, mhiramat@kernel.org, brgerst@gmail.com Subject: Re: [PATCH v2 17/19] objtool: Optimize !vmlinux.o again In-Reply-To: <20200318132025.GH20730@hirez.programming.kicks-ass.net> Message-ID: References: <20200317170234.897520633@infradead.org> <20200317170910.819744197@infradead.org> <20200318132025.GH20730@hirez.programming.kicks-ass.net> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 18 Mar 2020, Peter Zijlstra wrote: > On Tue, Mar 17, 2020 at 06:02:51PM +0100, Peter Zijlstra wrote: > > When doing kbuild tests to see if the objtool changes affected those I > > found that there was a measurable regression: > > > > pre post > > > > real 1m13.594 1m16.488s > > user 34m58.246s 35m23.947s > > sys 4m0.393s 4m27.312s > > > > Perf showed that for small files the increased hash-table sizes were a > > measurable difference. Since we already have -l "vmlinux" to > > distinguish between the modes, make it also use a smaller portion of > > the hash-tables. > > > > This flips it into a small win: > > > > real 1m14.143s > > user 34m49.292s > > sys 3m44.746s > > > > Signed-off-by: Peter Zijlstra (Intel) > > There was one 'elf_' prefixing gone missing. Updated patch below. I think there is one more missing in create_orc_entry(). Miroslav