Received: by 10.192.165.148 with SMTP id m20csp2004380imm; Thu, 3 May 2018 08:49:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpXBpsdCwyE+J8Pz18CQ8nWtHyCqVr2i+p/7elE+gZa7fpNoc4A5c/dShXs4LyI8DzSJi6O X-Received: by 2002:a17:902:598d:: with SMTP id p13-v6mr24486869pli.191.1525362585918; Thu, 03 May 2018 08:49:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525362585; cv=none; d=google.com; s=arc-20160816; b=eXsPlVJ0YKXzpzXgwrGAaxjTetUOaqdsyMUGEx+kzd/Ru0zQBoNMR8Sw78tIhqWIGk pQFrymkWKKAGzHox3IieGQOSaqgMiQtovAGMFwoEk7x3TI8I35Jy15sHwz2A/gNI7AQE T/QOq2bu+4vE9RjiSnQ15jx2Wk6NsH30NDBNYVNhsgR3/yiVymULSkLtY2kEFx81hEmn AcuKaBFBSMIdsbfSIr0rfN/OE3F2bMVDYnY7CKkpiXlzIO5twvxRPC51Z5oD/En317co Guyk0qpsSrCzl/ibjt8tYmvXKVc8jsAnht4MtgMZnE9CSVgEhTx+uTrLRkCM1krzUB+k SSKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=U6fzWXJUmwEtE/qLcsfkjEsb9sxWWWDC93kI8RBuHro=; b=VnKyBi9RpqZtefXO+1cD9yfl3YNa/yXpUhwLhLBItDrDOn5xSTEqZlAuDBLOAI4dnQ 6W4WYf+NRvy8tmNYvH+dqaP3TNQ0juuvpVHeKLc9hp54cXRlX7puLYW5kTne0RqeJeQf Ui1Br7B4XkZ1kTgEsR6NDt25HZWBOIV17AkCfogHs7YNbAle9xlZeMB1SnY3whxpFeDc PAmxriprwC/mi1lQIixtgwY3khr+qlBf0tCu7/x2cYdRlH0zMDDDUZ/BMk9HWss/SUy0 H9IhVhSpO4MAOolEkLR2RkLHdM9ngrDy8O57VU362Wg+A1csk2LjEd3rfFolTdntxyO+ /fjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=M6/SB1jS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8-v6si5085825plp.526.2018.05.03.08.49.31; Thu, 03 May 2018 08:49:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=M6/SB1jS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751684AbeECPtS (ORCPT + 99 others); Thu, 3 May 2018 11:49:18 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:43795 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751137AbeECPtR (ORCPT ); Thu, 3 May 2018 11:49:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=U6fzWXJUmwEtE/qLcsfkjEsb9sxWWWDC93kI8RBuHro=; b=M6/SB1jSq48bJK4k+onjk1eP5B FRH53Bq3lg8AmNaQlp/ds5Bcpr/d15QwLBwGszew+Y7dx6sSspbyKNfKMEqrSn+Z7PHWHl6Jmp0s7 42e7jscshtprRPEse7fZx+ChavTQFfm/0cSv/kGQXGO3dgZNvkw/0ZIhtcKyK4UibFhc6UbtY+rFJ dnKQ9NNJxPl9qDcjtO44ZLJigQ6qaofCIWSXYbX97D4N+Fdxu2LchbaXvVACvcMaocINkUeScWgA0 vR6DZdjIqZGVbfZ0McnhzITbzPyJFd4M9I083Praeg7D2q00xfUDBlebyhTHwK9D3E0UpZmK1UdC/ MR/Cvsfg==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:53604 helo=localhost) by bh-25.webhostbox.net with esmtpa (Exim 4.89) (envelope-from ) id 1fEGTo-002Kom-My; Thu, 03 May 2018 15:49:13 +0000 Date: Thu, 3 May 2018 08:49:11 -0700 From: Guenter Roeck To: Sasha Levin Cc: "Theodore Y. Ts'o" , Geert Uytterhoeven , Greg KH , "linux-kernel@vger.kernel.org" , "w@1wt.eu" , "ksummit-discuss@lists.linuxfoundation.org" Subject: Re: [Ksummit-discuss] bug-introducing patches Message-ID: <20180503154911.GA26754@roeck-us.net> References: <20180501163818.GD1468@sasha-vm> <20180502195138.GC18390@sasha-vm> <20180503000620.GA29205@thunk.org> <20180503145533.GK18390@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180503145533.GK18390@sasha-vm> User-Agent: Mutt/1.5.24 (2015-08-30) X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 03, 2018 at 02:55:36PM +0000, Sasha Levin wrote: > On Wed, May 02, 2018 at 05:38:32PM -0700, Guenter Roeck wrote: > >On 05/02/2018 05:06 PM, Theodore Y. Ts'o wrote: > >>On Wed, May 02, 2018 at 10:41:56PM +0200, Geert Uytterhoeven wrote: > >>> > >>>Between v4.17-rc1 and v4.17-rc3, there are 660 non-merge commits, of which > >>> - 245 carry a Fixes tag, > >>> - 196 carry a CC stable, > >>> - 395 contain the string "fix". > >>>(non-mutually exclusive) > >>> > >>>That leaves us with 200 commits not falling in the bugfix category. > >> > >>Some non-bug fixes are allowed in -rc2. So perhaps what might be > >>interesting is to look at v4.16 (which is completed), and look at the > >>distribution of commits: > >> > >> * regressions fixes (for bugs introduced during the current > >> release cycle) > >> * "normal" bug fixes > >> * commits which don't touch code (e.g., spelling or > >> documentation-only fixes) > >> * other commits (features or cleanup fixes) > >> > >>at each rcX level. The historic "standard" has been feature commits > >>in -rc1 and -rc2 (tolerated, but ideally should before the merge > >>window), bug fixes / regressions in -rc3 and -rc4, and after -rc4, > >>regression fixes only. It would be interesting to see how well we > >>have been holding to the historical ideal. > >> > >>It would then be intersting to use Sasha's analysis to see whether > >>there are more bug fixes caused by regression fixes versus normal bug > >>fixes, and whether or not they are common when fixes come "out of > >>cycle" --- for example, a non-regression bug fix in -rc5 or -rc6. > >> > >>Because if that last is the case, then the prescription is very simple > >>and not controversial --- bug fixes found post -rc4 should be held to > >>the next merge window. > >> > > > >Holding up even fixes for severe bugs for 4-6 weeks ? Seriously, that is > >unrealistic. Holding up the fix for the next SpeckHammer because it was not > >ready before -rc4 ? I don't think so. > > For severe problems, the patch usually gets more than enough reviews and > testing, so I don't see a need to soak it in -next more than some > minimal amount of time to get bot coverage. > > However, these things show up only a few times per year. Most of the > fixes even in late -rc cycles are for older bugs that aren't too > critical. We can't base our decision on severe bugs that get exceptional > treatment anyways (see PTI getting pushed in -stable). > > >Even when not counting severe problems, you are adding lots of additional work > >for those who do and want to rely on stable releases to merge in bug fixes. > >Sure, I am at times annoyed having to deal with a regression in a stable > >release, but it very much beats digging through various mailing lists for > >pending patches to fix CVEs, or for crashes seen in the field, just because > >they are held hostage by some restrictive process. Even worse, I'd end up > >picking the regressions anyway because I can _not_ wait those 4-6 weeks > >plus the time it takes for the fixes to show up in a stable release. > > I think that for -stable we don't have a good idea how soon we want to > merge patches in. On one hand enterprise distro folks complain we're > jumping the gun, and on the other hand folks like yourself claim we're > too slow :) > You are misquoting me. I am saying that it would be a bad idea to hold up bug fixes after -rc4, which is quite different to saying that patches don't make it into stable releases fast enough. I am perfectly happy to wait a week or so for a patch to soak in _mainline_ before being applied to stable. I am absolutely _not_ happy with the number of patches making it into -stable releases recently. I am especially very concerned that the current flurry of patches queued for -stable will destabilize pretty much all stable releases, and pretty badly, for that matter. I am seriously contemplating not to integrate the next few stable releases into ChromeOS for that very reason. That would be a different discussion, though. Guenter