Received: by 10.192.165.148 with SMTP id m20csp2019881imm; Thu, 3 May 2018 09:03:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrG1TYnKvSdiN07dn6OiZzwbKAVeYgfuv1taaHCmr/6hmAro71tRwDuSu5Cc78Tv3Ijwamt X-Received: by 2002:a17:902:684c:: with SMTP id f12-v6mr24716500pln.139.1525363419748; Thu, 03 May 2018 09:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525363419; cv=none; d=google.com; s=arc-20160816; b=Em+0gWDLXeT/skwHWkFMm9nt568U3vsy9dVtbTHT7F5a3znWQPlvCOq3cV5cDwsz6j C8hIgm/buqBFfSoOGjpmvq7Qkv3J2G8tm+GPT9Oe48CTQn70zHATnX6ygsLjwEXPjMru 5VvlYu+QZ2hd3USisgFwzISmxVqMEaiB7/TH3KyOTXAIDreH7r/8RtCh4GPGZwYTDFEU VqykZjVT/uN7Va6PmkPPGEKiJ8jqsLxXxTvAPZPqS+TYEIFZCaTID6002GyYEKVDYpGP SQRLjpzvs8I1fEMOYvsodMUo2shuKa6yvsQCq/VJCLx7N8oqqWPUIcl+GdTEFG83DfTn Ds4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=p75V8LJnJ2yMuaEyZjx+0nBVgZ3yGd4hkQXAXhYWiY0=; b=ily2OfL5PupFtsu02/qfTHH2lYBO4ZxeMXf91404dbTncPVS53q5Wj60b8u1gpXNIt ziO5T8T1EkBdMGXvGV6LAcKmeAcqUMYC7KsLu9e+C32QWJ3vOPMvv8EbVowG2wq19WbH Bmi5jvSAeUtMmUAvm93UBLYyRIM7pGK8dZ6VH1ulSx3xNlpi3cNTsISOJ+4jWkeHKtAX TFO627TcttNICEZZJ1vkvEQw5QplLzFdADVAxeS9xQSCbaDjzIchbFIH4H6goaD3MfoU ojqoa7VjquzxYrivBqln6bL4ksHHWQ17l6STLHcyKUVxFLoMm6aiJAXru88FGsi4pxPn ogUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=kCeNhvQZ; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1-v6si9781339pld.218.2018.05.03.09.03.24; Thu, 03 May 2018 09:03:39 -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=pass header.i=@microsoft.com header.s=selector1 header.b=kCeNhvQZ; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751713AbeECQCR (ORCPT + 99 others); Thu, 3 May 2018 12:02:17 -0400 Received: from mail-bl2nam02on0104.outbound.protection.outlook.com ([104.47.38.104]:10208 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751674AbeECQCP (ORCPT ); Thu, 3 May 2018 12:02:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=p75V8LJnJ2yMuaEyZjx+0nBVgZ3yGd4hkQXAXhYWiY0=; b=kCeNhvQZIV2BkLfzqGzJ+LfqSM1G6araQX0KAfQB7otks2ZG2c9kbzR6CI3zonsaJ/U95oYMaqr5R2lSwlVbMK0t63aJtOgSleWQQB7jQfo7lLee4gU95uxTt0p1n+JFQJbYMlAKczbLqs0OOB6rRVcAjbYxmSYyp7zTGYWT9l8= Received: from MW2PR2101MB1003.namprd21.prod.outlook.com (52.132.146.28) by MW2PR2101MB1051.namprd21.prod.outlook.com (52.132.149.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.755.7; Thu, 3 May 2018 16:02:12 +0000 Received: from MW2PR2101MB1003.namprd21.prod.outlook.com ([fe80::1958:87f0:1598:af6f]) by MW2PR2101MB1003.namprd21.prod.outlook.com ([fe80::1958:87f0:1598:af6f%13]) with mapi id 15.20.0755.002; Thu, 3 May 2018 16:02:12 +0000 From: Sasha Levin To: Guenter Roeck 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 Thread-Topic: [Ksummit-discuss] bug-introducing patches Thread-Index: AQHT4WrQpZfAdTeY4k22b0OVmzGN0aQcksOAgABIXgCAAA4OAIAAORwAgAAI/wCAAO9ygIAADvyAgAADoQA= Date: Thu, 3 May 2018 16:02:12 +0000 Message-ID: <20180503160210.GO18390@sasha-vm> References: <20180501163818.GD1468@sasha-vm> <20180502195138.GC18390@sasha-vm> <20180503000620.GA29205@thunk.org> <20180503145533.GK18390@sasha-vm> <20180503154911.GA26754@roeck-us.net> In-Reply-To: <20180503154911.GA26754@roeck-us.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MW2PR2101MB1051;7:AwqnAwQFN+BfmiQViiKMLgwD6oBv/plDA97D1TQR5foL0iXFHw+No8HvQWXKSj14eEfrNYzQxoFcrel8EqXH/MQac01G5EZ7EbGIYbYwS6EMsqWHI47zT5qO125j7xVeKcArEyToAK4KQZRmkZHGIvr+DquO7yd+Vty3NS/+1DG6bcKtSWKm0g8o2lNQ7ZUiW6JIn12UoYv3hUlIYFTYFQ9k2ZTEsPqnOmPeZmG03WqY81Nu80WKEesD6tvzGg2/;20:Hp182gJx0rCU0F6199bLIaL34+6GA3XhOHUfV7vobo27vtB51sSFc+G7XpkkjuW1hnC3a8qVvReve48eWYq1ThzFzeQdnwaQgVZNRsXZGtyqR9BpaVm0i21Tbw0a3B9KtGNoaWzlwg5lLn+rV5mCQo1nvRnpde+I67BOxNw4R98= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:MW2PR2101MB1051; x-ms-traffictypediagnostic: MW2PR2101MB1051: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231254)(2018427008)(944501410)(52105095)(10201501046)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(6072148)(201708071742011);SRVR:MW2PR2101MB1051;BCL:0;PCL:0;RULEID:;SRVR:MW2PR2101MB1051; x-forefront-prvs: 066153096A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(376002)(366004)(39380400002)(39860400002)(396003)(346002)(199004)(189003)(51444003)(102836004)(93886005)(68736007)(186003)(10090500001)(6512007)(99286004)(9686003)(6436002)(33656002)(105586002)(10290500003)(2900100001)(25786009)(11346002)(316002)(476003)(22452003)(486006)(6506007)(76176011)(446003)(33896004)(106356001)(6346003)(86362001)(86612001)(59450400001)(5660300001)(26005)(81166006)(8936002)(8676002)(14454004)(229853002)(54906003)(66066001)(6916009)(305945005)(7736002)(81156014)(97736004)(33716001)(3660700001)(2906002)(4326008)(1076002)(53936002)(6246003)(478600001)(5250100002)(3846002)(6116002)(6486002)(72206003)(3280700002);DIR:OUT;SFP:1102;SCL:1;SRVR:MW2PR2101MB1051;H:MW2PR2101MB1003.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: lDTjSwlrN4TD0VQBfKldKd0Fx7afdfrJLH25LNLSSQqKL06kRhwpk5z5JwfGY1VLpJiDPMVXDOjPC9SH4dgT2bylssmBBsz4md6Y9nooBHtMDovoikU2Dgcrkzl3mFY0SatGb2IiUSbuHEa6rl1HzSw+Hnq4fGMc/Yoa3XzwwtCZFXDg1FXlNnzfU7pre1JQ spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 8ba1dd16-2a01-4d09-09ec-08d5b10f3bb2 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ba1dd16-2a01-4d09-09ec-08d5b10f3bb2 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2018 16:02:12.5380 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB1051 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 08:49:11AM -0700, Guenter Roeck wrote: >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 i= s >> >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 addition= al work >> >for those who do and want to rely on stable releases to merge in bug fi= xes. >> >Sure, I am at times annoyed having to deal with a regression in a stabl= e >> >release, but it very much beats digging through various mailing lists f= or >> >pending patches to fix CVEs, or for crashes seen in the field, just bec= ause >> >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. Most bug fixes that go in at that point are fixes for previous released kernels, what's the harm in keeping them around for longer? I'm not saying that it should be some arbitrary rule for everyone, but just suggesting that maintainers should exercise more caution merging untested commits that don't even fix a current regression. w.r.t stable, as you just said, you're fine with a week or two, the enterprise folks (as well as Ted, to some extend, in this thread) suggest that this should be a month+ >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. For AUTOSEL, I'd be happy to learn of issues you encounter and address them in my process. I've been submitting automatically selected patches for over a year now and the track record for regressions is on par with patches that are tagged for stable.=