Received: by 10.192.165.148 with SMTP id m20csp1937167imm; Thu, 3 May 2018 07:47:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp0v+eRulVgtfsdbEZWBeHDPn5GcgmsKeJvO1ShDisF6pFxf7qd8+a2AKwqhhzUEDonx/BT X-Received: by 10.98.131.69 with SMTP id h66mr23623461pfe.0.1525358871822; Thu, 03 May 2018 07:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525358871; cv=none; d=google.com; s=arc-20160816; b=HKMdIkJZjLSkuoubM3Z8LAD+xMzN70EaUzaNNm4rE1yzHplNShvjeLYLA0Hn8p4hem +nDpVslIrskfOyDEJTYawle+lULzVX9tecVtTch+eezpo/1reSR/ucvdbYvayBzjJKKk qKlwrqy0ULQ89kcpKr5tc5hvopcv1THAK3pDNkjIzCFkMgAOmWQTOwez8rqWmTPegO4O MxquZ1wH6l7by68x/YJeI5WwQr4c457jxSSnxLuzcfF/pD0dOpmBZ+Hm5bueLuky/+kd w+KMg3KvSgoiVV+GMx8yVGYjdUedyNTo7SvzG/pK+xtlbeyQ/dFH06A7VySX8OsEDCEB BINA== 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:to:from:dkim-signature :arc-authentication-results; bh=Wi2/LHsYluGp8qR8sE80rSGIHkFnNEnauMJJkbWHXOw=; b=fpQKzQhXbCnyG+RTShvWFelEFL4XnohrWAr21eBgrIc4nqzq7PW/ELIDafhdIJJXEj vvHVX1r9PpJT4+OvONtbIEZk8yO+F5Hbmg6RFboK6CUDDM/I3vzjAQ9xN6i+7XwoG+ez ductaN9YZOhteuV7icqgkdIq+b5MUvjHBzy83/wzM7rPqkpCjhXxyEFSpA7w/0Zjf0op VWk+lhJjPjQSCmd4rtudSWtElKmPMCgsW5blw9zizr6K8ev/Oc0aQkciU0w+V878xfPT 879TEGtnH1BdQAUbm9MAgDbk8866J+x5o9E4EI6kiwpxepANpxh1nn03EueEjAN8Zt6s lu8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=BzRxo80L; 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 g1-v6si5410731plm.268.2018.05.03.07.47.37; Thu, 03 May 2018 07:47:51 -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=BzRxo80L; 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 S1751558AbeECOqb (ORCPT + 99 others); Thu, 3 May 2018 10:46:31 -0400 Received: from mail-co1nam03on0107.outbound.protection.outlook.com ([104.47.40.107]:56096 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751351AbeECOqQ (ORCPT ); Thu, 3 May 2018 10:46:16 -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=Wi2/LHsYluGp8qR8sE80rSGIHkFnNEnauMJJkbWHXOw=; b=BzRxo80LHOIyOW6bPNKPKad+DAfY+EE7zZFQxXQq8Xnh9OifYYqri50srVqKnJqOtzPx+2Sv6CgoVxYAnTmiU3e7wzjGBaLFdU09vHU4lmZsVuPFTey0Xq46k1yBRHs+wN3RSBeB+W2tt3QgzFjkJgn6+dRm5VWaefRguANVakQ= Received: from MW2PR2101MB1003.namprd21.prod.outlook.com (52.132.146.28) by MW2PR2101MB0939.namprd21.prod.outlook.com (52.132.146.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.755.1; Thu, 3 May 2018 14:46:14 +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 14:46:14 +0000 From: Sasha Levin To: "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: AQHT4WrQpZfAdTeY4k22b0OVmzGN0aQcksOAgABIXgCAAA4OAIAAORwAgAD11QA= Date: Thu, 3 May 2018 14:46:14 +0000 Message-ID: <20180503144612.GJ18390@sasha-vm> References: <20180501163818.GD1468@sasha-vm> <20180502195138.GC18390@sasha-vm> <20180503000620.GA29205@thunk.org> In-Reply-To: <20180503000620.GA29205@thunk.org> 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;MW2PR2101MB0939;7:L5svxH1FBlvK1mizqekwktkyLevOt6zis/i7u0jsWe8lvnGKKTaIx1TEVjO9v63+FGjiRhwd6Pk3AptClouDsHUcquC7HvzS6Xc5GveNjGcuJYRXOKl5a2wYAt7VcaPAb8JsLZucgBJwCr6Pp0MGt87iK5YU/rFb/htW2lUfjxiGk0P/DDqtMY+ZVGC8HCQ5gJjVXAkBjYJjux9XuIlE53ydHnzHxyRQa3mIV3Ws2Iojbg9MnPpGwZK9f5HmISr/;20:vASVDcB6B4WeHybfHxp8eBHmD22NWYsUdp/pqFtU8Ll0UvAE7Fz6opqXFKCMgFm9RrCQcc70eM5EpWm7rpuMeDVpcP+2l6bAPC/vo3NjgOozQJHJXKQ/xkrGT7awiKFG6qBqlQrlUxiRiWXrtE2pDlcd9Cc3gyzW7qy6WGDI48w= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:MW2PR2101MB0939; x-ms-traffictypediagnostic: MW2PR2101MB0939: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231254)(2018427008)(944501410)(52105095)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:MW2PR2101MB0939;BCL:0;PCL:0;RULEID:;SRVR:MW2PR2101MB0939; x-forefront-prvs: 066153096A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(376002)(396003)(39860400002)(39380400002)(366004)(346002)(199004)(189003)(72206003)(76176011)(186003)(9686003)(6512007)(10290500003)(2171002)(478600001)(53936002)(33716001)(99286004)(97736004)(6246003)(33656002)(6346003)(66066001)(14454004)(5250100002)(229853002)(2501003)(6506007)(26005)(6486002)(486006)(6436002)(2900100001)(102836004)(106356001)(33896004)(476003)(81156014)(8676002)(8936002)(3846002)(10090500001)(1076002)(68736007)(81166006)(93886005)(2906002)(110136005)(3660700001)(6116002)(5660300001)(3280700002)(7736002)(305945005)(86612001)(2201001)(22452003)(446003)(316002)(105586002)(11346002)(25786009)(86362001)(781001);DIR:OUT;SFP:1102;SCL:1;SRVR:MW2PR2101MB0939;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: fpMaAxJGcoxEdANeRoElyqtsZkHR+ZKMhwWZw0Gp4x0gax2yahTREFpkqM4fGk73ukUF1LrEsnvFJSF46rWcSydkBgyzKOD8vD3MEUS7V403usRYrlKFYejnF7B7xAcXDHgtElNoUYZjXy0C5gnN6qTUxE4ruSLGvsqF/Dmpjt/64WnaLXD4NefxaaaNuCGD spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <1CBCE5EEDA6104489DB9A376D817DADD@namprd21.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: aeb854f0-6c3b-43c2-6585-08d5b1049ef0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: aeb854f0-6c3b-43c2-6585-08d5b1049ef0 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2018 14:46:14.5458 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB0939 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 02, 2018 at 08:06:20PM -0400, 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 whi= ch >> - 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. > >If the concern is regression fixes which require one or two tries >before they are fixed before 4.16-FINAL is released, then that's a >"life is hard for AUTOSEL" issue, and I suspect Sasha will find that >there is rather less sympathy for holding regression fixes for an >extra week or two. > >If the concern is bug fixes that show up in -rc3 and -rc4, but which >aren't hitting linux-next first, then holding bug fixes in linux-next >for a week makes sense, and if that means that a bug fix found post >-rc3 needs to marinate in linux-next for a week, and then it then >misses the -rc4 "bug fix" deadline, we can have a discussion about >whether bug fixes should be allowed in -rc5 after a week's marination. > >My personal opinion is "to hell with it, just wait until the next >merge window" --- but this can cause more work for the stable >maintainers since a lot of bug fixes would then land in -rc1. I'll work on breaking up the 4.16 commits into categories, but one interesting statistic I've noticed while starting the work is: Fixes in -rc cycles: rc1 68 rc2 147 rc3 88 rc4 121 rc5 40 rc6 193 rc7 98 Average days in -next, for a fix, per -rc cycle: rc1 27.25 rc2 21.4286 rc3 22.5114 rc4 18.281 rc5 14.65 rc6 12.6166 rc7 8.70408 Fixes for bugs not introduced in current merge window: rc1 40 rc2 113 rc3 61 rc4 79 rc5 25 rc6 139 rc7 72 So for some reason, there is a rush to push fixes for older bugs (that were not introduced in the current merge window) to the point that rc7 commits that only existed for a few days are merged in to address older bugs.=