Received: by 10.192.165.148 with SMTP id m20csp2115496imm; Thu, 3 May 2018 10:36:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoCOpw2fYIlw+T5d5E92M900RhKAwCYJBlC4IfVEaEkwik8m5eE2KRb/C6hdCm0qnnFZao1 X-Received: by 10.98.144.86 with SMTP id a83mr13533635pfe.186.1525368998417; Thu, 03 May 2018 10:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525368998; cv=none; d=google.com; s=arc-20160816; b=YviyLIk0l8xhzHzEzz1/L9whK9m+Gl3xxVwTG1d313bvh25eCo7CMIYz1DJ4lxJJ6n E2WZzblFO9FKciCBbtH0hk16Eg/hwAyZvAGKKvhuOE/tZYtgizC0ADx+62XZqIZeYmK/ rvDg24DQ9YARp9OMnMJWQqVx4XUzQqDhqYNbqu5OhU01YDnyJ7nH2GlyQWaE4KjLrTtB JTFrr3CJGgP6mf6D5XlSRRR12rFhTVNKJZTBYKtt3z0oT9GsV3co1YcB8fEo9DaslZY5 m8b3L1BHDhNX+M5vQUkIFShtGJufnuKuVj9L02tn76jOdbTbsD/x1Ija4soyOz7XlmYF ZCDQ== 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=WCd0XTUYRwL8fr/c4KIrncpotOXCcxtZod+VHGYBp08=; b=APYJYWrZbKO1eFVYMxyI06CO4/U7m8s32tv1e50m1VJhhah9PNJKz8cvtZB8LAaLXV F8J6HnfQz0HwY+LukjfeWX1X5seJhNqD+/N8taMbILXn+YG5QaO3JusguG1Ik6BaHLg5 YjoQ6lLfEFljTRsxKx53mxXV2YJembjSfgG1iGKS9lCAJunV2xZJeNK8f0j3fCdpwZoI u4t9rdBks4N32OvZbl2c+Bbdhl2oPnhCcmI8glsfsWR63SRkWzDL6CvMg6Y8zG5In9/u Bqoqk+lP7YlToO3Lm1C02IvI8xBJ+ieAX6Eq9UOC1E8bTGNxVTOsMaKtvVcnI8sAMRQ4 VmHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=R6YGMhWT; 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 32-v6si13854917pla.348.2018.05.03.10.36.23; Thu, 03 May 2018 10:36:38 -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=R6YGMhWT; 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 S1751326AbeECRe7 (ORCPT + 99 others); Thu, 3 May 2018 13:34:59 -0400 Received: from mail-bn3nam01on0130.outbound.protection.outlook.com ([104.47.33.130]:43664 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751095AbeECRe6 (ORCPT ); Thu, 3 May 2018 13:34:58 -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=WCd0XTUYRwL8fr/c4KIrncpotOXCcxtZod+VHGYBp08=; b=R6YGMhWT2n2Le+p4ukqeIWrTB6gM2K88baNt2SYAraIDsskJne8M0Nw5JJsl8/4BlNd9aT2cYPOzFkafv2IvUYfXx4Rd2kSYZykM65ryIMoY+HQWj+R8aPHisk77kCKXMxzZaroJJxBZfLOpCFOK2BoR5o0vLLRe8Wr5rxx14VY= Received: from MW2PR2101MB1003.namprd21.prod.outlook.com (52.132.146.28) by MW2PR2101MB0921.namprd21.prod.outlook.com (52.132.152.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.755.0; Thu, 3 May 2018 17:34:24 +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 17:34:24 +0000 From: Sasha Levin To: Al Viro 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: AQHT4WrQpZfAdTeY4k22b0OVmzGN0aQcksOAgABIXgCAAA4OAIAAORwAgAD11QCAACPrAIAACxEA Date: Thu, 3 May 2018 17:34:24 +0000 Message-ID: <20180503173422.GR18390@sasha-vm> References: <20180501163818.GD1468@sasha-vm> <20180502195138.GC18390@sasha-vm> <20180503000620.GA29205@thunk.org> <20180503144612.GJ18390@sasha-vm> <20180503165446.GB30522@ZenIV.linux.org.uk> In-Reply-To: <20180503165446.GB30522@ZenIV.linux.org.uk> 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;MW2PR2101MB0921;7:3pVsFdJVYgvgqBueCs+XrU49MRuqTUOUPwKnwPj5+YEY9i2vXM6Rl8VcQpBgdmuWXW0Iw2UN9YIjbcHO0Ix4/9qT4d4BbMMedf3YNF1Mkvz/9Kaod1whXwVxyGoi55Ip9UdeQK7GzlfmZGzmc7CQwv4Th2U74U2lTbZOmcJj034Bmt+IOvhhTuabD277TWGDSIGxA+Il1RHKd8rYJa7+jA7vNSKy7Hfd/49LIuE4stWsges0Ur6VMPkiz2P5IKMJ;20:FSzp6nO9f3DKAbYSWTLBlJOKgaqH705L9r+Zi/E2e20OsDyoC8dQn8xyT4fmB8dqHqgkvzb6QJIR7SMffOdwrG6+icmriL1On9+MuZp9C/d8dPvOVgIsSb2DZiSX0plPWaUIursCvjl0kGt9zhmEBceSgQVagwt2R9KsSmw37sM= 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:MW2PR2101MB0921; x-ms-traffictypediagnostic: MW2PR2101MB0921: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; 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)(10201501046)(93006095)(93001095)(3231254)(2018427008)(944501410)(52105095)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011);SRVR:MW2PR2101MB0921;BCL:0;PCL:0;RULEID:;SRVR:MW2PR2101MB0921; x-forefront-prvs: 066153096A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(39860400002)(346002)(396003)(376002)(366004)(39380400002)(189003)(199004)(43544003)(86362001)(575784001)(72206003)(305945005)(86612001)(10290500003)(53936002)(105586002)(9686003)(2900100001)(106356001)(478600001)(66066001)(10090500001)(33716001)(4326008)(6512007)(6246003)(25786009)(5250100002)(5660300001)(97736004)(1076002)(14454004)(81166006)(81156014)(8676002)(3846002)(8936002)(6486002)(6436002)(3280700002)(6116002)(446003)(476003)(486006)(3660700001)(11346002)(6916009)(229853002)(68736007)(54906003)(33656002)(26005)(76176011)(59450400001)(186003)(102836004)(22452003)(33896004)(316002)(2906002)(93886005)(99286004)(6506007)(7736002);DIR:OUT;SFP:1102;SCL:1;SRVR:MW2PR2101MB0921;H:MW2PR2101MB1003.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: Hwc0GBZ3FMXaWtP8toQW8Guy3iAPxGFOFIR+wRkh7o8VGggrScewMKl02Pnh/6PYA7JvINwzQW9/mbphFYSISdtgBVC1gZU4HW9B0/tNN4tFN0V/ISk3pCzXIRc4QbnMoD7DUEXHEf5BXDF6nPUE73zdetrnLkJzeTIpQwC7U4XudQLiO+t973BKKWJdoWiE spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <30FD635C725D2C4CA6CA4F76831D91D5@namprd21.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 3fde22ef-43ae-4dff-ff95-08d5b11c1d03 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3fde22ef-43ae-4dff-ff95-08d5b11c1d03 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2018 17:34:24.5545 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB0921 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 05:54:46PM +0100, Al Viro wrote: >On Thu, May 03, 2018 at 02:46:14PM +0000, Sasha Levin via Ksummit-discuss = wrote: > >> 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. > >I really wonder how accurate your interpretation of Fixes: is. >Consider e.g. the situation when an old bug is found and partial fixes >applied. Then we find that those fixes did not cover everything and, >come next cycle, add more on top of those. Where should Fixes: on >the incrementals point to? Original commit? But they won't apply >without the first batch. The last in the original pile? But it >would imply (by your metrics) that original fixes had *INTRODUCED* >bugs. It's vaguely close. Beyond the things you mentioned, some commits don't have a fixes tag, some mention what commit they fixed in the body rather than a tag, and so on. This is just an approximation. >Moreover, what the hell do you suggest in situation when > * foofs_barf() is b0rken in quite a few ways. There's an >easily triggerable memory corruptor that can be fixed locally as well >as something else that needs a change of e.g. ->mkdir() calling >conventions to take care of. The change is mechanical and fairly >simple, but it's already -rc4. I'm not advocating to forcefully block people from submitting patches after -rc4 (that was Ted's suggesting). I'm just saying that as a maintainer, you should use your brain and figure out how critical the bug is, how good is the fix and how well was it tested, and decide if you want to merge it in or not. If it fixed the bug and didn't introduce a regression, great! If it messed something else, you'd have some input on how to address it better in the future. I'm trying to come up with a tool/system to help maintainers with this task because right now it's not working too well. I'm not trying to introduce arbitrary rules to make your life miserable. >Even though the whole thing is well-understood at that point, >we *can't* apply all 3 - it's too late in the cycle for the >calling conventions' change in the middle of the series. > >Should we apply the first fix that cycle, or should it slide to the >next one? We can't apply #1 + #3 --- #3 won't even compile without >#2. We can't apply #3 without #1 --- they can be transposed, but >it's nowhere near a mechanical transformation. So WTF should #3 >have in "Fixes:"?=