Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp464509ybb; Wed, 25 Mar 2020 03:26:01 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvbWCelNp4RKer8JRXlY4/SjDGFrdHy9W5RbSnrrjWGvWAkAIYPveBJ0gwDE1fJPYfvU4Y1 X-Received: by 2002:aca:cc41:: with SMTP id c62mr1989603oig.58.1585131961249; Wed, 25 Mar 2020 03:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585131961; cv=none; d=google.com; s=arc-20160816; b=fJvWb0zfeVTfqsoPacDeugtiFz7o7vxkDMsKu+Wvr9rWfgIMjdGIvabBtOcy0zjjOu McI6frhcZdFXFqsmQ7eHvoCiS6bCaLM83dfnEcolWSHV/LrH0n6Li+Ai5Y/DvNT0KhVy LSOUwVubiJAn7tb2S6zTUml1OhANfe28Ccfx+BfyJGORlx6uCYwQ8/stIwaUFfxtM70l 53ZTo8DrOhSiM3XkPi5mlrXpxoR9a1G/+6m76G6d11eeH4vVMkusZzLnSVZnraTLJM6s dRARer1y4yMOdiEfRTPErj6zmWJu7r/IT9TbEBBNWM76cAHBGpyKOvseASAAjzgVMdI9 RhIg== 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=lUJmyhGDDzmRUo5B9M+SGfwfa7u9ODPhI2/GvYEO4h8=; b=yUoOglQBBZ46DZkvnc/gz0J567OOBIMZ9NPSU9WvsAqRomfQCqnIvDZdVbbPDm5CdG iXvi9wb1zbrC4mGezNhwCa7EXNI1qFhn5YvdwIUd0P2Bhi3CPQ6d/KMa9x4KcYXP23/+ 0PQYUBKm3lZSSaeooJE4didN70/zVxwkXIKtrBgbiahuOSd7KENhcWCwWPfZ/wd0RECL /kAs5359zgKqe685kx+ynf9snJqqbJPNNOIfUEQFRJmP7EQX4tNjlUO5i4+58XJKA3yw LLOhIHwW9x+wDuYmNseZP4IJiWzrgtDi1QTmlfPCH1S1KX9zinidOeL6GnsO6HnUHrD3 2I6w== 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 w203si9858413oie.193.2020.03.25.03.25.48; Wed, 25 Mar 2020 03:26:01 -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 S1727553AbgCYKZ3 (ORCPT + 99 others); Wed, 25 Mar 2020 06:25:29 -0400 Received: from mx2.suse.de ([195.135.220.15]:59474 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727346AbgCYKZ3 (ORCPT ); Wed, 25 Mar 2020 06:25:29 -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 6820CABEA; Wed, 25 Mar 2020 10:25:28 +0000 (UTC) Date: Wed, 25 Mar 2020 11:25:27 +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 v3 13/26] objtool: Optimize find_symbol_by_name() In-Reply-To: <20200324160924.676865656@infradead.org> Message-ID: References: <20200324153113.098167666@infradead.org> <20200324160924.676865656@infradead.org> 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 Tue, 24 Mar 2020, Peter Zijlstra wrote: > Perf showed that find_symbol_by_name() takes time; add a symbol name > hash. > > This shaves another second off of objtool on vmlinux.o runtime, down > to 15 seconds. > > Signed-off-by: Peter Zijlstra (Intel) > Acked-by: Josh Poimboeuf Reviewed-by: Miroslav Benes M