Received: by 10.192.165.148 with SMTP id m20csp1257128imm; Wed, 2 May 2018 17:40:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo2puvBg44GnOe2qrAqEK/cWOVdPkxwszPtWpaNRO+aO0caP5L6EvBmx7KYw/dsWh3J6TH0 X-Received: by 2002:a65:4443:: with SMTP id e3-v6mr18224641pgq.450.1525308017062; Wed, 02 May 2018 17:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525308017; cv=none; d=google.com; s=arc-20160816; b=ZOYWsi43y9bLW3L+XlrOoe2sq9jOB0OlFKEbRdXjygS9UHMa4Jw9i8Jkap0oShF5aA 7KBJfem9ekvt42Xm9QGc2rZsUowbAdCXyaUZ+2hd4PLm7qQ0z6iHWAXTj2LaUUTRfjBI 1kAXzt7E+rXJgAotzAwRyyp6LpNlhwWbEBgvqdIetjoVHV33blY7iqFjTdZ+D9LY0nTe JpQXW2a+xd0TZ1adM/eILrGWkC9ec0R8WDWrg0PBxBh/cUtA0dIZ9ElGxk6uneQMPEh1 FJgi+F0TdZwz2cg9Mp6rjKHFT7jsMARBUDg6SRe0C1WwnE5F7rH8DbWXkqkiFSM7lOkc HB4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature :arc-authentication-results; bh=gE6MeVVsghjRmSbeD1cSe40KpSf6vaynMx9WRwWR65U=; b=tBjoV+Pj/3xhcuKyOV6n6Tb3GMw6gOtR/dtPa2cax0VH4gUkRnJM4b2stHVnau0+pY q7Ue0mUG/o8kxcAtZZNUu/I+A9zjZ3KQrdoZzr+UBUsdO1bVzsETzv7s9FBcwJxu2pU7 7wf+Rdc37oZe9ASQIhqmjpoSM5xnOxR49L/Br9UTsrTdPe52F/GVepkUm4xTYe3RCfBD UbGf7XWyvtqCEB5M/+QL/FsAx2X4UYx9tydsarZkPRNJ4qO7m5KaIBZTH8GL9QBEoPSF Y935fcsD8fPe2NsZDI9dihq0ybFPITDZlphvfuhNDkFj17UJK2dMWiQhlTXBlDZ1D/YI WJHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=vbwH9B1Z; 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 a73si12976039pfe.23.2018.05.02.17.40.01; Wed, 02 May 2018 17:40:17 -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=@gmail.com header.s=20161025 header.b=vbwH9B1Z; 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 S1751808AbeECAih (ORCPT + 99 others); Wed, 2 May 2018 20:38:37 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:41216 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750947AbeECAif (ORCPT ); Wed, 2 May 2018 20:38:35 -0400 Received: by mail-pf0-f178.google.com with SMTP id v63so13201444pfk.8 for ; Wed, 02 May 2018 17:38:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=gE6MeVVsghjRmSbeD1cSe40KpSf6vaynMx9WRwWR65U=; b=vbwH9B1ZgB22/RAxpIXuUHWaVL5g+IhrewbpArKCarzAM1zbgqT3v7HLGhmevbB7VJ YvbZeggQt0uNyVlyOkS2Gk63cqDY1NWAi2kY7UpXlgIrf4M4jHuS0NZ42t1FJyGH56VR oNokv5DaQQnH+rvd2YxUPT/ciCb/Q6H+lbipcvQIPMzbqPOfgu1DoxZmQldyqkVW8ybj cV3pI9w4deZaQIaHFa662Y8Iyq6VKIP/F2BmIgY4ElVtD7+fcc52Gw8SwjJIevL84puA gRU/dAlOvDgBGo2Ldgd5ZrVhR6fWvcVW0v+OwGJTrqfigsvbPrKEPubc3mfgk7+5Fl36 xlOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gE6MeVVsghjRmSbeD1cSe40KpSf6vaynMx9WRwWR65U=; b=rZG+2hxqcF68ohdPQ3NJGB89JbzD9yT8h2VHO82TqgslH4TZa232GcMIPuxxjUFa1W afpVhqmAptIxWDGkA5RDUvgmCujhuLJW4y8YUbwFelotueV8il+Dd6Kz74xAzw1GjmnQ /E8mtkTTc6CJDqP9+/1kD4VFOerE6u5cn7Uo2lHS8yyq1AbIZAnlUuf4lOLQABKkd7D4 SFg/HCdxdpuUyGvMhVDpGOnpP72mUldod8dn5+HuM/leAnFlsIOenHboRiScRsX+C3tc Rmuu7fRwvni3ibNdQD/Y1utcZfxZXEe7K8Y6V4pdb65cNPx2VdGexTQvO5epjKZS7iLV 6Kdg== X-Gm-Message-State: ALQs6tBzSjlgZP4ueSEHp5UVXfJDuEjnjXZZes7EJqrxUO+EC1TJEOpE cgu/tro2dvGgOE6rbU4pv78= X-Received: by 2002:a63:7258:: with SMTP id c24-v6mr18030753pgn.453.1525307915115; Wed, 02 May 2018 17:38:35 -0700 (PDT) Received: from server.roeck-us.net (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id r22sm16802162pfh.61.2018.05.02.17.38.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 May 2018 17:38:34 -0700 (PDT) Subject: Re: [Ksummit-discuss] bug-introducing patches To: "Theodore Y. Ts'o" , Geert Uytterhoeven , Sasha Levin , Greg KH , "linux-kernel@vger.kernel.org" , "w@1wt.eu" , "ksummit-discuss@lists.linuxfoundation.org" References: <20180501163818.GD1468@sasha-vm> <20180502195138.GC18390@sasha-vm> <20180503000620.GA29205@thunk.org> From: Guenter Roeck Message-ID: Date: Wed, 2 May 2018 17:38:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180503000620.GA29205@thunk.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. Really, that just makes the situation worse for everyone. We would be much better off by further improving test coverage. Guenter