Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp16101867rwd; Mon, 26 Jun 2023 05:56:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4eNbfuG96uX/aEiRB58kq3a5TQwaQiDK39KpwNy7012SisDCUE58iYo5pFIqeJUSMzntRc X-Received: by 2002:a17:907:9306:b0:978:7262:d125 with SMTP id bu6-20020a170907930600b009787262d125mr23833561ejc.76.1687784163359; Mon, 26 Jun 2023 05:56:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687784163; cv=none; d=google.com; s=arc-20160816; b=bljhlh8CSOt8vc2V7sc4TU/l9tW/WoyRrLcmRw8kLqWceFndPPUATOfavvsms/EROO okqdQzdiT6BIzA30vUV2Cwnsoa5EkqjEB7HYhwooD8UThO2B2gm/uSv3/TMT9Hxpo45x gV4F97S4t6McHU+VBJy9xWeDDgqYszqRDfyVU3AuckcTgWIWRluzjj3hzkzlDBwbflJJ Z0wiICpLhxsnI8aZXNWwRGMkZ1uGp6LIbzCK5mSi97bNUJwhyxf9OhysQMXaRUAIhFW1 obSrWDvXEZRXEEClvAZAmoJBShBSwQ3dSReEzaUEmCGXGvBPACshny9f9f4doQG5koji VO1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1xYFUI/k6vE8xTpsdHwPYP/AxDoWz5CfcCmedbDcsCk=; fh=y2WyF4v2uJKCbTe92pBqEZoaDt4ehOc73IPHhw3aJNk=; b=Vfw4u/ceuEIRpTepihWxhegmHFJxv0gth4n62DcL+jR4O3OPe7euH2pVTmylwen0zg CWJSxi/YQyN0/7yXQv/N46sUSfOPhuoJO2at0237mk4C6X/QQH/rQl80x4VbjBZwIajY ZuRIPje0+TMSt70Q20/77trejY2NmIwGi9rID3gO7Zpsgl6CNZm+wirYjUyrORsbHIQa 6+d7nRer4qkftEW4Ha1TP7YgvQksxKNj/W3rzb4TWt6G0Ajgq0ITDypH25q43OTT+uqs B1pK8PdBWCf8iLEbgCe1d1fDXm/dMIF9HBcamfNE8NfuziXmO1pkLFop2pzXI+NSPiQC fm+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HulYCJn2; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ci7-20020a170906c34700b0098f99532db1si1319635ejb.672.2023.06.26.05.55.38; Mon, 26 Jun 2023 05:56:03 -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; dkim=pass header.i=@linaro.org header.s=google header.b=HulYCJn2; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229952AbjFZMmO (ORCPT + 99 others); Mon, 26 Jun 2023 08:42:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229736AbjFZMmM (ORCPT ); Mon, 26 Jun 2023 08:42:12 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2687E122 for ; Mon, 26 Jun 2023 05:42:11 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-312863a983fso3740743f8f.2 for ; Mon, 26 Jun 2023 05:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687783329; x=1690375329; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=1xYFUI/k6vE8xTpsdHwPYP/AxDoWz5CfcCmedbDcsCk=; b=HulYCJn2XvaoDSsPKEw20CbMSvHHqVWwluwnv+5VYXvTK9JPgZ5nM3vQc35CmzxnVT erSpLVKvkwcp9NcrYGD0XF6zV5/FE7ShtDTlaa7RRJ7lTJ0Rl+l2ql7V+xWoL7BQvspW bUup2x/P3rogs01jgXA864coD/zr8aeVLsmxVpKFeUmYNif+lEEMcNwz+YQvJ90+V5/S Sca/4xnf4cwZ0DktnLljqtStdu3CZ0hcXzeCEfW5nEmNFV6OPPRZQ53y7knjWUzVL219 qpuOQ/exS1vaqQXMVVL4IXxyw2LvSSZu8iPBjpgIMltUNPVUbagSRGficpDPylbcjgrn /xvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687783329; x=1690375329; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1xYFUI/k6vE8xTpsdHwPYP/AxDoWz5CfcCmedbDcsCk=; b=dXPw3G0qEvx7k5sQ43YUiyEi0BY1x7KyDDe2XwRq0eD11n8POnGwkI+Z3TmVqQvjEH f0sUvkW4SeoUeBM2trg3G93m3zI3rr7QdSaUOlLFXCxCiyvSIkeBbv47IJi+Gb7HuvFl HCGRJz3zMtNBWU9fRIEG0lx9hsLPIPRla3pnd7K3Qw4vt2krfvrFDNmSm7DSLqYA8l+N Rgylp02GITG/s8B61NucU+s57NIOHCAgOkQkmJ9/GQ6zTC2AzExgWNOWs174laTvExWA aW8Bc8UWG2RiyW2+IzFAjdKCV2c4+AkP8tfPlVSlhHmCJgbbYQuapt8COS/v2kiattI7 JFMg== X-Gm-Message-State: AC+VfDwVBcr77WxqENNk5mPJClHQVR/iyqDhA1k2l2VySpkCQRQhOMv3 ++ZINqdD1XfZmyySLcVOLxqSpg== X-Received: by 2002:adf:f203:0:b0:30f:ca58:39ca with SMTP id p3-20020adff203000000b0030fca5839camr23923068wro.31.1687783329608; Mon, 26 Jun 2023 05:42:09 -0700 (PDT) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id h10-20020a5d504a000000b00313e8dc7facsm5477055wrt.116.2023.06.26.05.42.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 05:42:07 -0700 (PDT) Date: Mon, 26 Jun 2023 15:42:03 +0300 From: Dan Carpenter To: Ian Rogers , Sasha Levin 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 , Namhyung Kim , Peter Zijlstra , LKML , cocci@inria.fr Subject: Re: [PATCH v2] perf unwind: Fix map reference counts Message-ID: <35569055-0873-4d5d-8c9c-78c818e9aa26@moroto.mountain> References: <20230623043107.4077510-1-irogers@google.com> <64741e8e-e81a-afb9-9ce3-9c2d6baab44a@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 10:49:36AM -0700, Ian Rogers wrote: > > > > 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. I feel like we have been discussing issues around Perf backports recently. Wasn't there some build breakage that wasn't detected? Why not just ask Sasha to leave perf out of the -stable tree? Also Sasha has a tag to explain that patch AAA is included because patch BBB depends on it. I feel like maybe those tags are backwards, it would be nicer to tag AAA as depending on BBB. That way we could add the dependency tags here. I think at Linaro we have recently been testing taking the latest Perf tools and using them on older kernels. I don't know the details around why we can't just use the perf that ships with the kernel... To tell the truth, I also don't really understand the problem for this patch specifically. From what I can see, the Fixes tag would have been: Fixes: 0dd5041c9a0e ("perf addr_location: Add init/exit/copy functions") 1) Adding a Fixes tag would have automatically prevented any backports. 2) I don't see any possible use after frees. That probably means I have identified the wrong Fixes tag? I'm not going to dig further than that because I don't care. I'm just looking at it because Markus added kernel-janitors to the CC list. But for subsystems where I'm more involved then I always look at how a bug is introduced. That information is essential to me as a reviewer. So if I'm writing a patch and even if it's not a bug fix but let's say it deletes dead code then I often include include the information under the --- cut off line. --- This dead code was introduced by commit 23423423 ("blah blah blah"). regards, dan carpenter