Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp14326490rwd; Sat, 24 Jun 2023 17:26:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6yCwreX+lJwE9c1hr59P4B+R8QkEPmLP9eA2NHYIbyiBOjwyvx4Nz/lEDE7nfG1jyGSoII X-Received: by 2002:a17:90b:b05:b0:260:bce7:2aca with SMTP id bf5-20020a17090b0b0500b00260bce72acamr22563445pjb.23.1687652791572; Sat, 24 Jun 2023 17:26:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687652791; cv=none; d=google.com; s=arc-20160816; b=R9Pp6dBVrXS7LOKK0YNPBylOKCqD8IJW4pmcaeroGF3t+5tlNY8B3vZxq5/5XfeDtZ 6bCKwwb2paU535xHZQjBSo+QVCQv6FCGjGtRr9rbI1VKmIB9mp0fdIuzzgRBslp/WRYg z6M2inkb9s4mh8uH3nID45pXz9wOM7n4oT5W9CKwXgEF3Px867kzV66leHvvRxdh0t7y azKNHlHX20/6D0zPrnW0xHSX7+kRY4NVSZPEg+3ZCiVkhPpf0Ry5fWAJRiunqFp/V0CE +2kNh/m5DWvqFurmGwEpsirbrZsZfnD2mz0QbUDurNCijR+//eOaDjwlK4Ky7gRifkRr 3QXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=AZqysnnUpn6uonN5dhuCIFncj+nf+ko+bItWgRvPnwQ=; fh=tH3ExQOLXCkyGtyalNTwO4VX1DpYsrWrRjB9SYJ0aTE=; b=rpRm4UPg/V+zK3QnCPnlcpxkfFRgUOQLmioG3xJMgdzbVV5WTp2vNhUiaTyfYp5Ccy 2q7BBu2qyi0hKuaVjS+YfzpKQrdyMs+ZLYEGbIEXtJ+WTkiVpozdP65yRNrns+VEOsc5 jAcv3XQcJx9RAERlpkZndCV6KHdtNSL+SxwJpV8Fw5TlwDJpDeq6iI9TpxnehRRWJjfI lwQxFtPgCqi5jCw5M1TROTND9pv8uVSz9DYU6rm1DCmPSB5TJVjBZ1txmydh7v+6ya7j F6Zs57NvwxypVYWVeoKSgYhaHNMHuPaMd5vBB3BkA62rOj5VKyQDfHLLURQN5FaEPL/d pC6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mu6-20020a17090b388600b00256615e8d90si5120006pjb.49.2023.06.24.17.26.11; Sat, 24 Jun 2023 17:26:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230034AbjFXXhh convert rfc822-to-8bit (ORCPT + 99 others); Sat, 24 Jun 2023 19:37:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbjFXXhf (ORCPT ); Sat, 24 Jun 2023 19:37:35 -0400 Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1056210F4; Sat, 24 Jun 2023 16:37:35 -0700 (PDT) Received: by mail-io1-f44.google.com with SMTP id ca18e2360f4ac-780cdb2aa01so48858339f.0; Sat, 24 Jun 2023 16:37:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687649854; x=1690241854; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KsIg6m7BWrpUwxujmjQxPQdlEy5JHTyD5kBudsZOhOI=; b=Vya8Z0eI3dfs+aHZQxlmbRHn8E4troT+q/lGP/60lPeN1AiAsaPQ4rJSeTDoCRlFm3 n7Xl2u1oOaCZg9WK4xE7IyZjQZL248jntN7ozsWjx+dnqJzrsFf0kyNurfKrgNaDAhuy OrshIVJbz5DSFRj6lSfH2X2f4FPivDPKw0hMetdZb40+xfsAPVIvSnLvdaubORqWkpmI EptO941a/YFsLyl3WSTOO7FZMXOl1Tv/Y5XXeYG8f4XRf9B8mStleQqRXaPhf6aH2h2G h70psWuHOITjqqtm22+nx3F+/hmuhHpoI9xOB9VXkWc77siMxqjksEP+7P9ppW9lDpfM vSFQ== X-Gm-Message-State: AC+VfDz1XDFx0OHuHviQBv2j08JLYuJ2yRZXvu5irg2XjF37B0xgLiui naed3iszVTsEoxOwXs4Ico+spoGc6aoqTYmDXjU= X-Received: by 2002:a05:6602:2995:b0:777:acdd:c44 with SMTP id o21-20020a056602299500b00777acdd0c44mr16632499ior.10.1687649853842; Sat, 24 Jun 2023 16:37:33 -0700 (PDT) MIME-Version: 1.0 References: <20230623054520.4118442-1-irogers@google.com> In-Reply-To: From: Namhyung Kim Date: Sat, 24 Jun 2023 16:37:21 -0700 Message-ID: Subject: Re: [PATCH v3 0/3] Remove symbol_name_rb_node To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Kan Liang , Yang Jihong , Carsten Haitzler , Changbin Du , Athira Rajeev , Christophe JAILLET , Jason Wang , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 23, 2023 at 9:42 PM Namhyung Kim wrote: > > On Thu, Jun 22, 2023 at 10:45 PM Ian Rogers wrote: > > > > Use a sorted array of symbol pointers to avoid the potentially > > unnecessary 3 pointers (rb_node) for the name sorted symbols. Saves > > been 24 and 16 bytes per symbol. > > > > v3. Move sort by name dso lock into its own patch. > > v2. map__find_symbol_by_name_idx so that map__find_symbol_by_name > > doesn't need an optional parameter. Separate out > > symbol_conf.sort_by_name removal. > > > > Ian Rogers (3): > > perf dso: Sort symbols under lock > > perf symbol: Remove symbol_name_rb_node > > perf symbol_conf: Remove now unused sort_by_name > > Acked-by: Namhyung Kim Applied to perf-tools-next, thanks!