Received: by 10.192.165.148 with SMTP id m20csp1982448imm; Thu, 3 May 2018 08:28:17 -0700 (PDT) X-Google-Smtp-Source: AB8JxZokoCL0hj4q6vqX+exx9VyezXkS4Gn2ADTj6AHL23+sG24v3ciXF698TBHzm4fpoxExSv95 X-Received: by 2002:a17:902:57c6:: with SMTP id g6-v6mr1549185plj.27.1525361297521; Thu, 03 May 2018 08:28:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525361297; cv=none; d=google.com; s=arc-20160816; b=EjxpnuBl1M+P+0jPUI78nWpOqsG4D2QcY9pgmbncc5n3W5y4K5c/ZGsK688pXAeHf9 kuPxI8JONjUR0r2FtdbK+W1e5jaXG5XCt5+nA0YH8sGKCgxxahCrB7P9PLqflQ9GOdML bejMnjJxJyMVWvf/b26BGs5g1keYEkgiHFSvh1Bfy7kXdolnYB4u/dFaxg2LKubn5X2j Pwm9ru4osLwbbMOBceUexemyfDpGBdfg0KAJs/WfOSEoVOAK6Q+DxsSL21ZGdU7TPj+J cXdvDc1gqWPGh+FWlTdNdxiTBd7PAniH/VYqCGiodFHtF8VrYGosIapopvQddiWsY09a lD+A== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature:arc-authentication-results; bh=4JVaJIk6mWNl5j0yT138Ady4sSdK/iTNANm7yBudMZk=; b=f1oCwKtcL8Q24WKZXZ6MyqLik2zGZ+OMWldcUqRBS6Mw0dByckI2Roz30ne6MB94Nb U/BdWgF2sbbkWhpnzyPLpweD+aLVetly1ses8mdPeECWqpWBfe6BLVcM7eSkF/vUdiNL psVJpbsJ/yauINuva4+7llsu2s9PN8e9wcbYqEm/7EXyst74qv1U8Pu10CKVQJAQPFv1 nPIJ3d4wu2+BYqymccb6ilkQbsJPmUYr/NWE3QB3ijDMltnLa2FFDo5sXdWAO3t5++ej rIL2jnelpTBhYGyt8ncRRo76Z7uchGRtXAsqKKu3BVmXgUeDoKFN6FZtWnlip3VUyO2c IyKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=gnfRuMVY; 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=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15-v6si11612656pgu.112.2018.05.03.08.28.03; Thu, 03 May 2018 08:28: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=@hansenpartnership.com header.s=20151216 header.b=gnfRuMVY; 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=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751343AbeECP1v (ORCPT + 99 others); Thu, 3 May 2018 11:27:51 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:59468 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbeECP1u (ORCPT ); Thu, 3 May 2018 11:27:50 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id DDA4F8EE28A; Thu, 3 May 2018 08:27:49 -0700 (PDT) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W7_T0Va4PlH2; Thu, 3 May 2018 08:27:49 -0700 (PDT) Received: from [153.66.254.194] (unknown [50.35.65.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 6F8E18EE092; Thu, 3 May 2018 08:27:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1525361269; bh=had93VU1nMTpfJ4iw7kPTde0UWDW2DjfzzMnH2j01ns=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=gnfRuMVYBqFlzYkLcpCw5wud5E9l26y/pAHK/qpCsQDkFRyF1HXdJjq3JTrmmd7Tf TgV5kmMbNIjrgwgyudKwk7ZViep9Q0vpuoJX07khjwEmmRO0f9Us1wW/imZectNEOH brpXsSVUNHUoJZwdOyMkArwIJjvJWpFi0PEEGUTc= Message-ID: <1525361268.3225.17.camel@HansenPartnership.com> Subject: Re: [Ksummit-discuss] bug-introducing patches From: James Bottomley To: Sasha Levin , Willy Tarreau Cc: "ksummit-discuss@lists.linuxfoundation.org" , Greg KH , "linux-kernel@vger.kernel.org" Date: Thu, 03 May 2018 08:27:48 -0700 In-Reply-To: <20180503150608.GM18390@sasha-vm> References: <20180501163818.GD1468@sasha-vm> <20180501194450.GD10479@thunk.org> <20180501200019.GA7397@sasha-vm> <20180501205448.GE10479@thunk.org> <877eol808s.fsf@intel.com> <1525357984.3225.12.camel@HansenPartnership.com> <20180503144850.GC23311@1wt.eu> <20180503150608.GM18390@sasha-vm> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-05-03 at 15:06 +0000, Sasha Levin via Ksummit-discuss wrote: > On Thu, May 03, 2018 at 04:48:50PM +0200, Willy Tarreau wrote: > > On Thu, May 03, 2018 at 07:33:04AM -0700, James Bottomley wrote: > > > They're definitely for bug fixes, but there's a spectrum: obvious > > > bug fixes with no side effects are easy to justify.  More complex > > > bug fixes run the risk of having side effects which introduce > > > other bugs, so could potentially destabilize the -rc process.  In > > > SCSI we tend to look at what the user visible effects of the bug > > > are in the post -rc5 region and if they're slight or wouldn't be > > > visible to most users, we'll hold them over.  If the fix looks > > > complex and we're not sure we caught the ramifications, we often > > > add it to the merge window tree with a cc to stable and a note > > > saying to wait X weeks before actually adding to the > > > stable tree just to make sure no side effects show up with wider > > > testing.  So, as with most things, it's a judgment call for the > > > maintainer. > > > > For me this is the right, and responsible way to deal with bug > > fixes. Self-control is much more efficient than random rejection > > and favors a good analysis. > > I think that the ideal outcome of this discussion, at least for me, > is a tool to go under scripts/ that would allow maintainers to get > some sort of (quantifiable) data that will indicate how well the > patch was tested via the regular channels. > > At which point it's the maintainer's judgement call on whether he > wants to grab the patch or wait for more tests or reviews. > > This is very similar to what James has described, it just needs to > leave his brain and turn into code :) I appreciate the sentiment, but if we could script taste, we'd have replaced Linus with something far less cantankerous a long time ago ... It's also a sad fact that a lot of things which look like obvious fixes actually turn out not to be so with later testing. This is why the user visibility test is paramount. If a bug fix has no real user visible effects, it's often better to defer it no matter how obvious it looks, which is why the static code checkers often get short shrift before a merge window. A script measuring user visibility would be nice, but looks a bit complex ... James