Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12839844rwd; Fri, 23 Jun 2023 11:22:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7XtnZ+obL1Q1bumBvMYkQDQIVbsC1EqciwNllJYMKwzrAa2Dj3pWdduR/+ZB8CRSft5fOw X-Received: by 2002:a17:90a:1b0a:b0:25e:ff04:4fb with SMTP id q10-20020a17090a1b0a00b0025eff0404fbmr14581631pjq.23.1687544563629; Fri, 23 Jun 2023 11:22:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687544563; cv=none; d=google.com; s=arc-20160816; b=aw9DqIlW77CCS9CtpI15lfMSZtfVXyke1+ED5NWujcaLX6S5KEECxP7QQLsUEI9SrM sCohaKHt/ADoqgPW91CKWMzBhfWP0DxLs7NXE5BjfE5q9gPRiBC8Qv6s8p8AfuPPB0vz s5y+rt7GZoJ9Mk7zr4c+FGoUUWjFA3sAwFDu+vdCu16fKH/BlJUBJ8VVR9BtRTcYFrri QZx6ncv/t5oFz8WNiNsY6L3SmSgRMuX1+zDRuXiO06CwGaL7+IyTdMdhmgw9K5JkPQBd 7zG2EDUGcJqkSnmLK5RWv6PNpDdxArybmDve5FjqWioCusROR7XxF1dUy4qkvYdv5eGy KWsQ== 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=IzMLZNyBbRrastivMEDyuc4Naxz4y1cs6JXru/0IwL8=; fh=qEcP+e+Hg87uJ+0Na5U50Mh61V8gZvbJVxrP3K+M+hU=; b=W1avSZrpqSsQcd2f8h8O15QhyU7sg2ePwWLf/YKLY4jYaAFv/00HdXG8Agg37LgVM/ T+g0+g+aL21nZTtNKnLWGmUuNhpi58Hfa+hxwj7OvXytIbK8hPh01Z2pcd2KtJXIY+S8 uHZJZ+KimL/hwMHjt44k11HTE4AhlzV2Qxzqd7LbymN51OlpF8molmXb/Pw0CSlRqfZ4 V96EbncTbEArh9RjM9ge/1P9eBDjYhnuXurEH8nT01/4ZWtyaBFc43aMria+q/zsoxu+ Hd9OR/i5e4hFQODsMoUjBrjat5EA3OFMrQ7q/OgjqJ8h6oexJE9F8MrOqmTMP0GmfWiJ 6ghQ== 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 mw13-20020a17090b4d0d00b002597ed3cc4fsi37633pjb.189.2023.06.23.11.22.24; Fri, 23 Jun 2023 11:22:43 -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 S232253AbjFWR6g convert rfc822-to-8bit (ORCPT + 99 others); Fri, 23 Jun 2023 13:58:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230237AbjFWR6e (ORCPT ); Fri, 23 Jun 2023 13:58:34 -0400 Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 916B4E41; Fri, 23 Jun 2023 10:58:33 -0700 (PDT) Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-bc379e4c1cbso887235276.2; Fri, 23 Jun 2023 10:58:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687543113; x=1690135113; 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=qBzWx4UIP8k3qiURWXrDdOAf2Oukk+lJsXvIVWYni3k=; b=VSycp+twxyna8h3LWId1hkfZPmCUnB+8IXQKqYKNn1DpgXyeUiBKw10lUKc3usSiNc zrSr+U1qoZEAzYXyeuMpWJVGArMhZZkPgAv0YKF9S1CR3tTeEoO5DREpxns21HJ8j5ld 0CAE6T77OzGLTu1NXOQsDKDeyfE+AyUfg+FFa7p5GsgfdGQd9BBoXYxdn6oE2JJmkgzh XycsZlUOf/9s6MYryMBrkv+nGKoRhgKau6Aw8h16+CCrkklQpULjtuk2BsjbANriUKf4 5i24nQe+G902v7hR45nijft5Xz/lb6Xra1Upy7Og69jN1DNOLOOnapUqkdL5PvuDx2nd 6eAg== X-Gm-Message-State: AC+VfDw7aP5C7uLbzfhCgsYgEHz0ER6+DFjicttXPukMkELatvapECz5 n4XMY3BSC8pyYW4tVDCFkD4o/DSUeqnJjB15i4c= X-Received: by 2002:a05:6902:c5:b0:bd7:6810:6646 with SMTP id i5-20020a05690200c500b00bd768106646mr19448702ybs.44.1687543112757; Fri, 23 Jun 2023 10:58:32 -0700 (PDT) MIME-Version: 1.0 References: <20230623043107.4077510-1-irogers@google.com> <64741e8e-e81a-afb9-9ce3-9c2d6baab44a@web.de> In-Reply-To: From: Namhyung Kim Date: Fri, 23 Jun 2023 10:58:21 -0700 Message-ID: Subject: Re: [PATCH v2] perf unwind: Fix map reference counts To: Ian Rogers Cc: Markus Elfring , linux-perf-users@vger.kernel.org, kernel-janitors@vger.kernel.org, Adrian Hunter , Alexander Shishkin , Arnaldo Carvalho de Melo , Ingo Molnar , Ivan Babrou , Jiri Olsa , Mark Rutland , Peter Zijlstra , LKML , cocci@inria.fr 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 Hello, On Fri, Jun 23, 2023 at 10:49 AM Ian Rogers wrote: > > On Fri, Jun 23, 2023 at 9:18 AM Markus Elfring wrote: > > > > > v2. Add missing map__put when dso is missing. > > > --- > > > > Please omit such version information from the change suggestion. > > > > See also: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.4-rc7#n698 > > ah, tldr. Will correct in the future. Thanks for taking a look at this. I moved it above the tag lines this time. > > > > > How do you think about to add the tag “Fixes”? > > In general we've not been adding Fixes as there is a danger a backport > will introduce a use-after-free. Right, this change depends on other changes. Simply cherry-picking this will result in unmatched ref count IIUC. Applied to perf-tools-next, thanks!