Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1499267pxb; Wed, 2 Feb 2022 06:23:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJyGrxVVRwt3QA+jxQtB3gr5kULORMjlDEvAY0I3A6F+nz9uOOjusPaSojy7ihwtrCPJAv8E X-Received: by 2002:a17:902:cec2:: with SMTP id d2mr30673457plg.100.1643811820502; Wed, 02 Feb 2022 06:23:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643811820; cv=none; d=google.com; s=arc-20160816; b=D93OibqwglorWA+8mSbqXe7QDx6+2Mtf1XZSlEWR7usgtS5aLLHNAzv44oqlg/hPbJ I2ibDbEfCMrQQFjnp5OV/e363+iuqWKXHu+ouImXuoILaY5MJxdk+/388DvBQV2Eg9Ea PXSO9f7rFkv4mACyK2569jmQbw/3aibrDXi3dqMWpJa39xHa70aXslMrVnl5T8WVimEi 0TSuLAcGUZIxSIdgxBmonPQj1tJhs1L5fF/j4A6bznqe3WHTlfpjRV/9UIyN51tG2EO5 rT8oht+t4RalWvBYcRYf1jtke3TJ6Gxg0+KJRIy5VLOXlDX0S6QKVO2+3TuDd+m56Acx H3uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id; bh=bmPEVWHOMbCWJdfgnu+BqqvmdLrCj5fz4aYgTcHSGlI=; b=bHwAOSLAy7NdCiPoJzML96Hh0oZJwzB8wBN4r2C6gs91+dpuTpyDu2z8NeTediYvzs Kpys3YCl5S4Ba5KRkYjbsJC4Hjp15ePdl0b3Bs+qp6Mud200cl5AqztE4y42n9646pht f55jhgyoyC8Sn899keBNVUOLzxEHFC8ULTV37UDxUcW40q894vbmiMj65Fyjwz/FPJjK V8O64jdntIBUpn5le0//BS2mbuNNDh1Kg71ar1NEEX6reiTDhh6NU4rfXv5Ew+wiCSHZ f9SrBadu4GYYken4UZY94C4a8rZZ+Wia2mTiGG9qi+aDDoN0Z6njbMtliii6TzsDZ+c7 hPNA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r7si22856707pgh.848.2022.02.02.06.23.27; Wed, 02 Feb 2022 06:23:40 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245562AbiBBJrn (ORCPT + 99 others); Wed, 2 Feb 2022 04:47:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229829AbiBBJrm (ORCPT ); Wed, 2 Feb 2022 04:47:42 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67E03C061714; Wed, 2 Feb 2022 01:47:42 -0800 (PST) Received: from ip4d144895.dynamic.kabel-deutschland.de ([77.20.72.149] helo=[192.168.66.200]); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1nFCEm-0002jG-6d; Wed, 02 Feb 2022 10:47:40 +0100 Message-ID: Date: Wed, 2 Feb 2022 10:47:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-BS To: Jonathan Corbet , linux-doc@vger.kernel.org, Linus Torvalds Cc: workflows@vger.kernel.org, Linux Kernel Mailing List , Randy Dunlap , regressions@lists.linux.dev, Greg Kroah-Hartman , Lukas Bulwahn References: <87fsp25g28.fsf@meer.lwn.net> From: Thorsten Leemhuis Subject: Re: [PATCH v4 2/3] docs: regressions*rst: rules of thumb for handling regressions In-Reply-To: <87fsp25g28.fsf@meer.lwn.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1643795262;13038e33; X-HE-SMSGID: 1nFCEm-0002jG-6d Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02.02.22 00:21, Jonathan Corbet wrote: > Thorsten Leemhuis writes: > > One thing that caught my eye this time around... > >> + * Address regressions in stable, longterm, or proper mainline releases with >> + more urgency than regressions in mainline pre-releases. That changes after >> + the release of the fifth pre-release, aka "-rc5": mainline then becomes as >> + important, to ensure all the improvements and fixes are ideally tested >> + together for at least one week before Linus releases a new mainline version. > > Is that really what we want to suggest? I ask because (1) fixes for > stable releases need to show up in mainline first anyway, and (2) Greg > has often stated that the stable releases shouldn't be something that > most maintainers need to worry about. So if the bug is in mainline, > that has to get fixed first, and if it's something special to a stable > release, well, then the stable folks should fix it :) Hmmm. Well, afaics in the end many (most?) of the regressions that happen in these series are present in mainline as well: either they where introduced in an earlier devel cycle or came with a backport to stable/longterm and thus are present in mainline as well (unless the backport was incomplete or broken). So I'd say it's up to the regular developers and not the stable team to fix many (most?) of them. That being said: yes, I think you have a point. This could be fixed with some small adjustments to the wording above, but... >> + * Fix regressions within two or three days, if they are critical for some >> + reason -- for example, if the issue is likely to affect many users of the >> + kernel series in question on all or certain architectures. Note, this >> + includes mainline, as issues like compile errors otherwise might prevent many >> + testers or continuous integration systems from testing the series. ...the same aspect is relevant for other points like this one, too. And there it's not as easily solved. So maybe this is better addressed with a separate point early in the list: ``` * Developers are expected to handle regressions in all kernel series, but are free to leave them to the stable team, if the regression probably at no point in time occurred with mainline. ``` Regressions for example caused by incomplete or broken backports thus would be something developers could leave to Greg (and I expect he won't mind). >> + * Aim to merge regression fixes into mainline within one week after the culprit >> + was identified, if the regression was introduced in a stable/longterm release >> + or the development cycle for the latest mainline release (say v5.14). If >> + possible, try to address the issue even quicker, if the previous stable >> + series (v5.13.y) will be abandoned soon or already was stamped "End-of-Life" >> + (EOL) -- this usually happens about three to four weeks after a new mainline >> + release. > > How much do we really think developers should worry about nearly-dead > stable kernels? We're about to tell users they shouldn't be running the > kernel anyway... I'd expect we handle near EOL stable release round about normally until they become EOL. But anyway, I had something different in mind when I wrote the above and I get the feeling my text didn't express it well and got you on the wrong track. :-/ My intention was: I want to prevent users getting stuck on EOLed stable series (say 5.13.y) when a regression makes it hard or impossible for the user to run the directly succeeding stable series (5.14.y). I think this expresses it better: ``` * Aim to merge regression fixes into mainline within one week after the culprit was identified, if the regression was introduced in either: * the development cycle of the latest proper mainline release * a recent release in a stable/longterm series Try to address regressions in the latest stable series even quicker, if the previous series will be abandoned soon or already was stamped "End-of-Life" (EOL) -- this usually happens about three to four weeks after a new mainline release. Remember to mark the fix for backporting by using both the ``Fixes:`` tag and ``Cc: stable@vger.kernel.org``. ``` How does that sound? Thx for the feedback, it's good that these things turned up. Ciao, Thorsten