Received: by 10.192.165.148 with SMTP id m20csp2149053imm; Thu, 3 May 2018 11:10:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoh6e7CMPVcnA8eTfPyDwHFXTJz7p5ij3oywUMY7bxwhZMPJU6VvJaLijNmY5c3BxXhSZsc X-Received: by 10.98.4.133 with SMTP id 127mr24012300pfe.26.1525371051240; Thu, 03 May 2018 11:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525371051; cv=none; d=google.com; s=arc-20160816; b=y3YrPAeAhVJ4LSA5BMMnnsSCPBCsN5U5fW4Hxmq5gHtxomOnq9e/7EhoQYi4A7F3RO Fyr8M84OT09vYDMcjGxLxOioHinPRVHQmUbvH2Db0GiDZZTXZbWpldY65zNiruxmxvaK rYnebBqyf6fgzacEftJ6dGb+i1YNdu5TEKfQzzb0d0OgRHRJPs8QMOrb4sVLCHjgb+KR +OpGXPiYkHQps/iRQifkxBkcB7fA7lRO9NTKn/pz7t/fe8VA7Xb4xCVeCrdOE7t0D6dJ 10PnFgxTc/PJD5W4tXrz7pdi+PT+NMx6EzaN5GbgG2G9Jpq/b7369E6IBJUlT8sSYIh9 0f4g== 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=hrJ9hm27bEGe/YPllZyzZLmfouDGEEN2JpD3tSHEaaQ=; b=FmwpKvZc4L+ROVW+W6uIsBy1DwvaJ08yLWjFmIWGF5o8oVb9KxPEIa5bKiMuz4PhO/ 58dupBSNrSoGJJ2lgj1xOLo8xp2jAD488Dll/XeKhnm2fzTTZoyxSSJMn9Vv6DzqC1VX ZN6SJ/QcR4oiT9rCwKijJrs7b9mpa5g1moa611ugnumVdifnVFX1U6tZt68Z24Yzu5kw upx4r8P/4sa4csPLeU/69b4pf8FqIXOtX4i75GwwMhASaOIjLK6n2aQyAuFH4QCQy1M4 w26PVPyVOpnCWpbMhQ8FyeF/rR4ankNfSV50zDI8EeDm76fyOleX5fU6ElEba2FOYC1F zvQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=pczyXUei; 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 p12-v6si11716029pgv.503.2018.05.03.11.10.36; Thu, 03 May 2018 11:10: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=fail header.i=@hansenpartnership.com header.s=20151216 header.b=pczyXUei; 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 S1751346AbeECSKY (ORCPT + 99 others); Thu, 3 May 2018 14:10:24 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:60936 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751166AbeECSKX (ORCPT ); Thu, 3 May 2018 14:10:23 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 51F658EE28A; Thu, 3 May 2018 11:10:23 -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 R02YrVTufboy; Thu, 3 May 2018 11:10:23 -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 D0CC68EE092; Thu, 3 May 2018 11:10:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1525371023; bh=pEBsE5qNvc3drdCcAbsyxdW7iSgGDifFtKSjL9JEu20=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=pczyXUeiR1gLgFt5FXT3L99ybOeJpvAcgDPTlsQzQkSg6CHSICFS50GGH9hcSVmw0 rPsoxKsjAvLw6GhYk91DJiqowy1opfKnkDKZfp93iiHX1r56Up/Di2bzegV+SJbe0h ssiMTeKlujdmO7wwVHSrUVDsaenCGMLRCCy/b6VA= Message-ID: <1525371022.3225.22.camel@HansenPartnership.com> Subject: Re: [Ksummit-discuss] bug-introducing patches From: James Bottomley To: Sasha Levin Cc: Greg KH , Willy Tarreau , "ksummit-discuss@lists.linuxfoundation.org" , "linux-kernel@vger.kernel.org" Date: Thu, 03 May 2018 11:10:22 -0700 In-Reply-To: <20180503154342.GN18390@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> <1525361268.3225.17.camel@HansenPartnership.com> <20180503154342.GN18390@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:43 +0000, Sasha Levin via Ksummit-discuss wrote: > On Thu, May 03, 2018 at 08:27:48AM -0700, James Bottomley wrote: [...] > > 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 ... > > It is, but I think it's worthwhile. Would something that'll show you > things like: > >  - How long a patch has been in -next? >  - How many replies/reviews/comments it got on a mailing list? >  - Did the 0day bot test it? >  - Did syzbot fuzz it? for how long? >  - If it references a bugzilla of some sort, how many >    comments/reviews/etc it got there? >  - Is it -stable material, or does it fix a regression in the current >    merge window? >  - If subsystem has custom testing rig, results from those tests > > be a step in the right way? is it something you'd use to make > decisions on whether you'd take a patch in? Actually, no, these are all not what I'm talking about: They're all measures of whether the commit triggers another bug. Which, I agree, is the fear, so it would be good to have them of course, but they all take time the maintainer doesn't have when making a quick decision about a late -rc bug fix. At late -rc the decision is the current user visible problem set against the risk of -rc destabilization. You're measuring the latter in the above, but in the rule of thumb decision making we just assume that's constant. What we're looking to measure is the user visible effect of not fixing the problem. So, for instance, a boot failure on a widely used SCSI board is a no brainer for fix now and tackle consequences later. An obvious fix to an error leg of a little used board is the other way: no-one is really affected, so we don't take the risk. The judgment call is the spectrum in between these two extremes. James