Received: by 10.192.165.148 with SMTP id m20csp1999358imm; Thu, 3 May 2018 08:44:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqQF6Kwj5hpRF9nzjW4WGLpa9Lii++5S9GQhYDp9UhPQX96P6PLg1Y177+a7UnsH1NjgMq2 X-Received: by 2002:a17:902:700a:: with SMTP id y10-v6mr24641184plk.265.1525362263782; Thu, 03 May 2018 08:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525362263; cv=none; d=google.com; s=arc-20160816; b=ExdlScCA1wx1TTavIcL1HS/15LFXZH/puqVDrp4O1M/wRhc3BfuaHC6+lnnp3J5KWC zCIFifpxmMtcYivXaJhDCcBaGj4zfpSEGpTkYFEbqd571aFVPqx6Ic8CtlS0RhEuJdBV VvRk1WhpIUMQAcUaDZE36qYGCoSLXfZbDULENsSzVJL9froyx0n7yqMhOOWMdV9F5ugM 6sbNhDgaACgrOrNVJfsCuWv9LsXEkud2JaFQM7Pbi0EPFM1xWmlkVDJWG3vWif3o+JGC JJkiPZ0H44FQxlW/c9TiXRFSme9t4SIfjavh65GQz7EoqZ/9Bt1HYrctuCvoSIQVfcYS TwkA== 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=+IFfJTPbB45PxZPVbzGryWozQUYXBEluTQSGSId5wPA=; b=oPpXwCFcJ82Fa9maNCAVIM2CjC+CY6x/HR99IGdq8Y+xPtq05w4+LxfNS1qgmbtaPz 3lONnBQ+KSOm/QpeQ8BzISLdYhvyYmr2ZHE4dfF/7mSVEFHZFJ0qXKPPWigT8BoMnjof 0l5N/16bB5ABBvc9ZltKy7mNtx1ZNxLhFCrwhMFTr98hNezKuQmYU4w59SEYlq/dZ69K BukHi+3DJ0SeNNeES5nTVnjALyWCbujodEYpc44Fvtcizl1+IoheBgHQecV1CHU4q/ex BKiLdRq/9mIgrWLAKiawpVxKeZXA+WbTynp3IjCWGmDp+oZ2uvIYjDYCM15gzlopxRnc hzSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=h4EP5mGl; 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 q6si13647376pfh.17.2018.05.03.08.44.09; Thu, 03 May 2018 08:44:23 -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=h4EP5mGl; 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 S1751307AbeECPnv (ORCPT + 99 others); Thu, 3 May 2018 11:43:51 -0400 Received: from mail-bn3nam01on0128.outbound.protection.outlook.com ([104.47.33.128]:21328 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750954AbeECPnr (ORCPT ); Thu, 3 May 2018 11:43:47 -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=+IFfJTPbB45PxZPVbzGryWozQUYXBEluTQSGSId5wPA=; b=h4EP5mGlFj5njoKvYLpS4ukxPPU4LA7WYvAoegzhgesFb2yIhkXYztE5x/5pVNOeB3soop6dejVhRZ+z9quz7YxOykYSC8VG0+rIe5+13hbYOTk6aVBxRdo2drF6Gjv3tWZMjl656ADKDV88GrczWrNsZ2Zh5lXJMILxXLUzdQ8= Received: from MW2PR2101MB1003.namprd21.prod.outlook.com (52.132.146.28) by MW2PR2101MB0924.namprd21.prod.outlook.com (52.132.152.32) 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 15:43:44 +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 15:43:44 +0000 From: Sasha Levin To: James Bottomley CC: Willy Tarreau , "ksummit-discuss@lists.linuxfoundation.org" , Greg KH , "linux-kernel@vger.kernel.org" Subject: Re: [Ksummit-discuss] bug-introducing patches Thread-Topic: [Ksummit-discuss] bug-introducing patches Thread-Index: AQHT4WrQpZfAdTeY4k22b0OVmzGN0aQbRuYAgAAEU4CAAA85AIACgPOAgAA5DwCAAARoAIAABNUAgAAGDgCAAARxAA== Date: Thu, 3 May 2018 15:43:44 +0000 Message-ID: <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> In-Reply-To: <1525361268.3225.17.camel@HansenPartnership.com> 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;MW2PR2101MB0924;7:qRnuRII6YiMfn3N1vVQ+djZbMmKYevZYKED7kVE2X0zjJzvEErTufdb+wmifoR1fmDn6VjLLgoOgo8BHLPBhtNrtkA/9ddaRZ86/wk01FUhgI7M6Hy7bfEKbcunuHGEU/Qy6rCRf2Y1mGV8KaSNmlud7k/j8ppHg0Q0sUyZ/tuQZB/MIe61IIIVmcTbLQ5YcFDayZVxtb+6ueb+QKqMtxneY6lB8hsooXFaBFYbqxwD5QiH1fcQv9fllySBLx+S8;20:nc9EHc3RTwgWGIhnkBgca3jxMkSnfDnk5bzMqchLXVZS68yxN3+R90B0PbjohbuZ6zvM7Q4P5zyirc7Mc1GjIZAU85VTn3wikEMXKIL+5SPIansySodLMASIWVmxcE5kdaqrGyWJzjyoeH+RKzTUyJ85VNaFw9KJE9MH2wZ7oTc= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(48565401081)(2017052603328)(7193020);SRVR:MW2PR2101MB0924; x-ms-traffictypediagnostic: MW2PR2101MB0924: 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)(3002001)(93006095)(93001095)(3231254)(2018427008)(944501410)(52105095)(10201501046)(6055026)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:MW2PR2101MB0924;BCL:0;PCL:0;RULEID:;SRVR:MW2PR2101MB0924; x-forefront-prvs: 066153096A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(346002)(39380400002)(376002)(396003)(366004)(39860400002)(189003)(377424004)(199004)(51444003)(6486002)(4326008)(93886005)(486006)(6436002)(6246003)(316002)(22452003)(86612001)(68736007)(86362001)(8676002)(8936002)(81166006)(81156014)(105586002)(7736002)(305945005)(1076002)(6116002)(3846002)(5660300001)(54906003)(11346002)(229853002)(476003)(97736004)(106356001)(33716001)(6916009)(6346003)(446003)(2900100001)(72206003)(33656002)(53936002)(10090500001)(10290500003)(2906002)(66066001)(6512007)(3280700002)(9686003)(478600001)(25786009)(99286004)(26005)(33896004)(76176011)(5250100002)(102836004)(6506007)(14454004)(186003)(3660700001)(59450400001)(3714002);DIR:OUT;SFP:1102;SCL:1;SRVR:MW2PR2101MB0924;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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: uSgdORvn1Gy9vDHl6GC/RYnlF0OUt/gJj2Fz9hAbKeesWthh9SfcF9xphKCbwVCWzR1xD/cTT0IC60+T/RpFbESRNqP1IdUq6MZOsXsn1ziahasQtS9lfDJywedh3mFJ2Z7M+mXLmTu1Mquw2ygdHvQ8QmdRGo/Kt4ZXxtMXl5Mp4dU1EJYBULFKqOMPuKgB spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 3a39017e-c919-4655-c256-08d5b10ca75a X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a39017e-c919-4655-c256-08d5b10ca75a X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2018 15:43:44.6072 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB0924 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 08:27:48AM -0700, James Bottomley wrote: >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.=A0=A0More comple= x >> > > bug fixes run the risk of having side effects which introduce >> > > other bugs, so could potentially destabilize the -rc process.=A0=A0I= n >> > > 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.=A0=A0If 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.=A0=A0So, 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 ... Linus, IMO, is getting replaced. Look at how many functions he used to do 10 years ago he's no longer responsible for. One of the most obvious examples is -next, where most integration issues are resolved before they even reach to Linus. This is good for the community, as it allows us make the process better and scale out. It is also good for Linus, as I'm not sure how long he'd last if he still had to edit patches by hand too often. Instead, he gets to play with things that interest him more where his is irreplaceable. >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?=