Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp198206pxv; Thu, 15 Jul 2021 02:11:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRaS6qDEglayOnR9+cLJdy+vVvv4exyb61DeLViLx0LA/voNwEOmgtxQWHnu7vJeGHzOL7 X-Received: by 2002:a6b:c40d:: with SMTP id y13mr2478670ioa.78.1626340263079; Thu, 15 Jul 2021 02:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626340263; cv=none; d=google.com; s=arc-20160816; b=aCtYLTm6SVNhgwfUMsab4e8yc5GHtpmsW/1t3yE6fsDTgi2iQT7xZlAMEcmoc1jOUL 9hso7NNJW63mTUJMEqjlY6JZaFG6MA6YguWV7sYFi+lIjNHQZFm2ePsug4wjfftF6YPb 0JedgieYQEOE5JyzWbfepUsLVjPDqLLrGCynkoMc93xNl/vJ+l5Gwg/XRP93PGSGgO/X PEQNAfrikmKMv0tGkLSXlGr72sS2onOBT+FPt/P6C0RMPlSMZ0h6QPqGCllj/dyK57B1 ZJCwf98+knlvJaMq5FVxzaAODh8zyWGtGCFb5cWV8DppA//HBbQA+91VIp1Q60YUXSnp A7Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=wHPy6x4feXL9uDlB10yPqrmcfEqEPnqgR0YupDxTlwk=; b=IPoqMMQllqgh+Ev98Bt6tGEG4LxVbBuBtjAJScteXIwARKLyBJd/a1E2BT8rNAHCoA mvSYFp/MxK8evT1efLCWzi87L2pbvBZvAbyVDOOg5jtXgUzQAm4nX5TPQ+73IfIQ8fOc PWi8rMFdhF5dpfGpMw0IitQhM6uHBYSYjwjnfGcAwHefR8uFq6zN122SmkuGGbDD+YEq 1via6kehIbquXyEekDSx1UQ0f79MIQECI+v0N85L75XqX0BJzV6n5lFWe89BPgOLMYoI PN4i8sPAISX16MepV1MU2UQ1Gha5dSAiu9qA5bbQ77Vrf6Q6QjjnkHQOnx9KbhdDyCoY 2tZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o18si6273737jat.46.2021.07.15.02.10.51; Thu, 15 Jul 2021 02:11:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234468AbhGOJEL (ORCPT + 99 others); Thu, 15 Jul 2021 05:04:11 -0400 Received: from mail-vs1-f46.google.com ([209.85.217.46]:36772 "EHLO mail-vs1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232855AbhGOJEK (ORCPT ); Thu, 15 Jul 2021 05:04:10 -0400 Received: by mail-vs1-f46.google.com with SMTP id o19so386382vsn.3; Thu, 15 Jul 2021 02:01:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wHPy6x4feXL9uDlB10yPqrmcfEqEPnqgR0YupDxTlwk=; b=hoGSamOJV/wvLGQnHuvS8w120eUSiiOMa+48JsjwBiO2LWtVEJroEU0vYuORBVpL7b C4AIBRE3dRbXb26puVhj0cvvvkxqaBR1CYEa6ct5uHB4SlOnjlnKbo1vXgY38wjotBOy w0dkKtK4IiIvV0i2boesXbd331+R8EzLSre4jpjjs66LlPxvPXy7wu9fXvv+RDlRqGTM NRG3w6DOZKtJWGl+LMTHfivC4TBEBJzNSGXwpShNZAcmMP0g5Ld/31an82ffc8CWxGpW ktcNen/LKYNxFWEX12fcw4LCDRsVGspYZ7CGEpXblN9uPoGkXACoy3gmdQC35RjuTrNS RawQ== X-Gm-Message-State: AOAM532nLE5q3//pQdBv3gef5eFNdrVmjP2hn3oxU8owiU3Nx6yuPwuo oK5CuPyDOMhLks0wqUJx25S2yu/UgsExsqgfcmorEAYeIvU= X-Received: by 2002:a67:3c2:: with SMTP id 185mr5002824vsd.42.1626339676281; Thu, 15 Jul 2021 02:01:16 -0700 (PDT) MIME-Version: 1.0 References: <2b1b798e-8449-11e-e2a1-daf6a341409b@google.com> <20210713182813.2fdd57075a732c229f901140@linux-foundation.org> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 15 Jul 2021 11:01:04 +0200 Message-ID: Subject: Re: 5.13.2-rc and others have many not for stable To: Greg Kroah-Hartman Cc: "Theodore Y. Ts'o" , Sasha Levin , Andrew Morton , Michal Hocko , Hugh Dickins , Linus Torvalds , Mike Kravetz , Miaohe Lin , Linux Kernel Mailing List , Linux MM , stable Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg et al, On Wed, Jul 14, 2021 at 7:36 PM Greg Kroah-Hartman wrote: > On Wed, Jul 14, 2021 at 01:21:59PM -0400, Theodore Y. Ts'o wrote: > > On Wed, Jul 14, 2021 at 05:46:22PM +0200, Greg Kroah-Hartman wrote: > > > The number of valid cases where someone puts a "Fixes:" tag, and that > > > patch should NOT be backported is really really slim. Why would you put > > > that tag and not want to have known-broken kernels fixed? > > > > > > If it really is not an issue, just do not put the "Fixes:" tag? > > > > I think it really boils down to what the tags are supposed to mean and > > what do they imply. > > > > The argument from the other side is if the Stable maintainers are > > interpreting the Fixes: tag as an implicit "CC: stable", why should we > > have the "Cc: stable" tag at all in that case? > > I would love to not have to look at the Fixes: tag, but today we have to > because not all subsystems DO use cc: stable. > > We miss loads of real fixes if we only go by cc: stable right now. If > you can go and fix those subsystems to actually remember to do this > "properly", wonderful, we will not have to mess with only Fixes: tags > again. > > But until that happens, we have to live with what we have. And all we > have are "hints" like Fixes: to go off of. IMHO the biggest issues with "Cc: stable" are that (a) in general it's hard to know if a patch is (not) worthwhile to be backported, and (b) without a Fixes: tag it doesn't tell you what version(s) it should be applied to. Just having a Fixes: tag fixes the latter, and allows you to defer the decision to backport. > > We could also have the policy that in the case where you have a fix > > for a bug, but it's super subtle, and shouldn't be automatically > > backported, that the this should be explained in the commit, e.g., > > > > This commit fixes a bug in "1adeadbeef33: lorem ipsum dolor sit > > amet" but it is touching code which subtle and quick to anger, the > > bug isn't all that serious. So please don't backport it > > automatically; someone should manually do the backport and run the > > fooblat test before sumitting it to the stable maintainers. > > That's wonderful, I would love to see that more, and we do see that on > some commits. And we mostly catch them (I miss them at times, but > that's my fault, not the developer/maintainers fault.) In my experience, the hardest cases are the ones where a patch fixes a real bug, but the fix has an obscure implicit dependency on another commit in a different subsystem (e.g. driver and DTS interaction). When backporting, a regression is introduced if the dependency is not present yet in the stable tree. > > Andrew seems to be of the opinion that these sorts of cases are very > > common. I don't have enough data to have a strong opinion either way. > > But if you are right that it is a rare case, then sure, simply > > omitting the Fixes: tag and using text in the commit description would > > work. We just need to agree that this is the convention that we all > > shoulf be using. > > > > I still wonder though what's the point of having the "Cc: stable" tag > > if it's implicitly assumed to be there if there is a Fixes: tagle. > > Because cc: stable came first, and for some reason people think that it > is all that is necessary to get patches committed to the stable tree, > despite it never being documented or that way. I have to correct > someone about this about 2x a month on the stable@vger list. For a developer, it's much easier to not care about "Cc: stable" at all, because as soon as you add a "Cc: stable" to a patch, or CC stable, someone will compain ;-) Much easier to just add a Fixes: tag, and know it will be backported to trees that have the "buggy" commit. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds