Received: by 10.192.165.148 with SMTP id m20csp2072626imm; Thu, 3 May 2018 09:56:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpgJPPCURedw+ilcsRdoGc4TtYL7MFPvNrmgKtm1hl8p+V+WxN5799X5eOuEg1AFqPxqlw8 X-Received: by 2002:a63:6842:: with SMTP id d63-v6mr19957265pgc.304.1525366599722; Thu, 03 May 2018 09:56:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525366599; cv=none; d=google.com; s=arc-20160816; b=hx83nHn657Ocqxxa3d5U7DW2RpJy/+8dQLs3LYfjLDL9XTaNQAnZOo8+vmXkt/aPUn RS2RMeh8N1KzFHjPbYJBmtKMzPf5jq6NKTmxUr2gQEuj+ByVRnmf6ujLsbJD/GI4cMuB 1PFouHBgTLCJW95X8a6e/KQMp7Jl4arG7iZgo51AmysU2VCf6TCWQyRxHr8eX14CqzvV jqojZnJfrAfVyrNGqTItSfVaz/sqfZBXsl5feUqAn/Hno84vGO/P7Jo7s6hzb0Vj3RbH LqCCdB82RXeJMGImJEvUKXqMWVbaIVUS2AYuC1NzWl7nieGqbUPqwWV7cF8i3Sd4+32C InOA== 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:arc-authentication-results; bh=RKddDSPc36dmBa1eVS8gEu5u/87bY6paP9Q4MWSqnaI=; b=ffqSqR+EDATUQst5AXClpQ6SPP6MiI/7aN0xvjEjSXvF+6LLQKuZmH0jRHiOcGArV9 l/4G+uxUGj4WxrVkgVieNiqgn15EcUAuMW5ksewL8V6uV818lnhRmZFaGEECFD/9gif9 eeYERdMPBLOS0eFLcnMww3riW97/A6z/ReLz/GgWHHcj9IbfexoBl5P3xN3abiC+fIXQ PTHjMRmgFih+5tNK++0pklUM3NSZ4qAWs58uoOQtocaNmOrI8uC73fZ6mScefDfqc0Kg yu8v6A4d5caS/EXf5lT5tG+ufsGO7I50p/UwQwJsek10xtMDBkjGfnmO8L0dhQfH1H9G Cg3w== ARC-Authentication-Results: i=1; mx.google.com; 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 t5-v6si7341740pgu.341.2018.05.03.09.56.25; Thu, 03 May 2018 09:56: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; 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 S1751492AbeECQy7 (ORCPT + 99 others); Thu, 3 May 2018 12:54:59 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:54558 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751432AbeECQyy (ORCPT ); Thu, 3 May 2018 12:54:54 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.87 #1 (Red Hat Linux)) id 1fEHVG-0007id-6z; Thu, 03 May 2018 16:54:46 +0000 Date: Thu, 3 May 2018 17:54:46 +0100 From: Al Viro 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: <20180503165446.GB30522@ZenIV.linux.org.uk> References: <20180501163818.GD1468@sasha-vm> <20180502195138.GC18390@sasha-vm> <20180503000620.GA29205@thunk.org> <20180503144612.GJ18390@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180503144612.GJ18390@sasha-vm> User-Agent: Mutt/1.9.1 (2017-09-22) 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: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. 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. 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:"?