Received: by 10.192.165.156 with SMTP id m28csp338328imm; Tue, 17 Apr 2018 10:59:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/BOKX4xx2pybOKJMWwL+4aSH0x5PAFebddoJbve47Nb76kJgMqoC5zLH7plQRSKDYxXISw X-Received: by 10.99.165.3 with SMTP id n3mr2527026pgf.19.1523987972197; Tue, 17 Apr 2018 10:59:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523987972; cv=none; d=google.com; s=arc-20160816; b=csWXuduZ5B42Je0bdlsv/s5NrMbeWajWTHj4gD9YI7b2gWjs0bAKdMvLyuL/PsKzHe bdaUJJTcsW/sszAu2crtJmJRmB5z+UC05U3sTdx6sC6qhPCCYlOHcxZTUDGDc6xLfiIi R5gsFG1Rzq6V7dV5N197C2kGwHYDGU2U/1demuF9JXZJpFx30SmjO3DTDo5BrEhecMwe uDvEhnt35/K1FtiN/5sZLWoH4n0NSa531yLctyBoFV3Y6QD9H/+acIx1mbemcwPPGMna so6DPnfIm+vkZBmisGL522TCYUen6FnKzEkoigR/6RuesI/EQNyfv86128Ro1zSxif5s Dnyg== 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=YrZDBgc2JScvK+0jaQ0wD6cZ26Sii/H8X2IALEUakR8=; b=XR6ehH9mqK0wzD2VOO6khPLEVSOIPNf26lo1lmNTzY3Wza7aitw3upHbHV6O/Ng/K+ pN5F29dzZiIOFNIePexCK9OgALL1Uc69OY84gy3n6oSmRHK2bj9cun6KR0k81VEUiUMq iOlU45MkEXrC0BfwFVT9AJ8Dp/qlTwk3R1ndhNI4n/xMOiCSrG1Oy/337ZfDAXfKcVDe Gkg5RFLsWgtLrWrEIMirFROBE6BG8aQxES7KZ/QEO0HtWwpN0aafiN3LWNmjscE7WBce ECf8jVW8F4e588g3Eh3edL15zteVVfP5ZmnMhMvWjxK8KhOtfyEDAV7+qTAOSy6Yq8os wNsw== 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 o1-v6si8625757plk.577.2018.04.17.10.59.18; Tue, 17 Apr 2018 10:59:32 -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 S1752273AbeDQR57 (ORCPT + 99 others); Tue, 17 Apr 2018 13:57:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:45557 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751187AbeDQR55 (ORCPT ); Tue, 17 Apr 2018 13:57:57 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D5CB9ADAF; Tue, 17 Apr 2018 17:57:55 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 2F4691E0531; Tue, 17 Apr 2018 19:57:54 +0200 (CEST) Date: Tue, 17 Apr 2018 19:57:54 +0200 From: Jan Kara To: Sasha Levin Cc: Jan Kara , Pavel Machek , Steven Rostedt , Linus Torvalds , Petr Mladek , "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "akpm@linux-foundation.org" , "linux-mm@kvack.org" , Cong Wang , Dave Hansen , Johannes Weiner , Mel Gorman , Michal Hocko , Vlastimil Babka , Peter Zijlstra , Mathieu Desnoyers , Tetsuo Handa , Byungchul Park , Tejun Heo Subject: Re: [PATCH AUTOSEL for 4.14 015/161] printk: Add console owner and waiter logic to load balance console writes Message-ID: <20180417175754.w4slhmwtf46hq3hm@quack2.suse.cz> References: <20180416121224.2138b806@gandalf.local.home> <20180416161911.GA2341@sasha-vm> <20180416123019.4d235374@gandalf.local.home> <20180416163754.GD2341@sasha-vm> <20180416170604.GC11034@amd> <20180416172327.GK2341@sasha-vm> <20180417114144.ov27khlig5thqvyo@quack2.suse.cz> <20180417133149.GR2341@sasha-vm> <20180417155549.6lxmoiwnlwtwdgld@quack2.suse.cz> <20180417161933.GY2341@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180417161933.GY2341@sasha-vm> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 17-04-18 16:19:35, Sasha Levin wrote: > On Tue, Apr 17, 2018 at 05:55:49PM +0200, Jan Kara wrote: > >> Even regression chance is tricky, look at the commits I've linked > >> earlier in the thread. Even the most trivial looking commits that end up > >> in stable have a chance for regression. > > > >Sure, you can never be certain and I think people (including me) > >underestimate the chance of regressions for "trivial" patches. But you just > >estimate a chance, you may be lucky, you may not... > > > >> >Another point I wanted to make is that if chance a patch causes a > >> >regression is about 2% as you said somewhere else in a thread, then by > >> >adding 20 patches that "may fix a bug that is annoying for someone" you've > >> >just increased a chance there's a regression in the release by 34%. And > >> > >> So I've said that the rejection rate is less than 2%. This includes > >> all commits that I have proposed for -stable, but didn't end up being > >> included in -stable. > >> > >> This includes commits that the author/maintainers NACKed, commits that > >> didn't do anything on older kernels, commits that were buggy but were > >> caught before the kernel was released, commits that failed to build on > >> an arch I didn't test it on originally and so on. > >> > >> After thousands of merged AUTOSEL patches I can count the number of > >> times a commit has caused a regression and had to be removed on one > >> hand. > >> > >> >this is not just a math game, this also roughly matches a real experience > >> >with maintaining our enterprise kernels. Do 20 "maybe" fixes outweight such > >> >regression chance? And I also note that for a regression to get reported so > >> >that it gets included into your 2% estimate of a patch regression rate, > >> >someone must be bothered enough by it to triage it and send an email > >> >somewhere so that already falls into a category of "serious" stuff to me. > >> > >> It is indeed a numbers game, but the regression rate isn't 2%, it's > >> closer to 0.05%. > > > >Honestly, I think 0.05% is too optimististic :) Quick grepping of 4.14 > >stable tree suggests some 13 commits were reverted from stable due to bugs. > >That's some 0.4% and that doesn't count fixes that were applied to > >fix other regressions. > > 0.05% is for commits that were merged in stable but later fixed or > reverted because they introduced a regression. By grepping for reverts > you also include things such as: > > - Reverts of commits that were in the corresponding mainline tree > - Reverts of commits that didn't introduce regressions Actually I was careful enough to include only commits that got merged as part of the stable process into 4.14.x but got later reverted in 4.14.y. That's where the 0.4% number came from. So I believe all of those cases (13 in absolute numbers) were user visible regressions during the stable process. Honza -- Jan Kara SUSE Labs, CR