Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1106591imm; Sat, 14 Jul 2018 22:58:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfcHaiFxDGz3kIALLaxRj3p8qCHlh9MQy/41Ha0406Lt+6LTasVamX7w+dCb+cz2sNptAXe X-Received: by 2002:a17:902:b587:: with SMTP id a7-v6mr12509418pls.225.1531634324354; Sat, 14 Jul 2018 22:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531634324; cv=none; d=google.com; s=arc-20160816; b=OZV8beuecpXqsYU1SSxoV3Bt793fe0cj+EoHrChrrhweFoB+VQTUA7RV2svqB62T1M ENx7g0S0zOVbzeYGkU30bxXq0Mwx6S1sV3TGPSDNR+69XwCJj8qT1/4d8S/VZx17Zg9G pscPRxCOYPotwJ8bDoJyCM7ZHA8nkQsf26PHgIHCchGE+L+ebMUo22hkPl5a7KLiuU9g JUIUbig9ez52jCN4FcKI5wXeFDGLzeCeM7XJjK+bJUDioVygfuyxbcfqERwu8o4Pglw2 G93LGKJRdv+PF1ncv0hBRKzMOWrtyamzr5Vzkt3FgkkwlBnw5cEX8lVlmZzMn72yp4Ot 3hSw== 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=NWqhPEVEs3kuSaCdUPDYkeWTpPoC4L2ycIDrZSouR2c=; b=z92PsTuGhBL86gqgpXxhmK0ty83Hdwg8p2mjKB2Ri3pHq82YOdaYdpoKcfwsw8aoeI 4fTbgBO4AP1Kj/sakwoFtyGgjIKzy8WLuJcZgqN1bykIqpj9cTjs+AwXWEHrCSAGOa8s Rsq1i2Q4GFT+CSHu9f+JKa1PGkfSNkAWFQNafNKUKC8GSjdTjLQdRuCfPxq4McTyq9Zw TUZpich5roCwzxzlr4utdrroN2GmLKhMfxTxVdkLGmX0pY9sdZXYy4l3/0a9cmx12z8C PcIh/5JkgXfbDKKUeTazzYYGFAcXKMxJrvBNJ1YutT4B7QnSLCxm7eKq5IJ2Z+iVqQDJ Ub6A== 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 f7-v6si28542142pfc.174.2018.07.14.22.58.29; Sat, 14 Jul 2018 22:58:44 -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 S1726277AbeGOGTc (ORCPT + 99 others); Sun, 15 Jul 2018 02:19:32 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:10733 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726010AbeGOGTc (ORCPT ); Sun, 15 Jul 2018 02:19:32 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id w6F5vNs1019370; Sun, 15 Jul 2018 07:57:23 +0200 Date: Sun, 15 Jul 2018 07:57:23 +0200 From: Willy Tarreau To: Pavel Machek Cc: Guenter Roeck , "ksummit-discuss@lists.linuxfoundation.org" , Greg KH , "linux-kernel@vger.kernel.org" Subject: Re: [Ksummit-discuss] bug-introducing patches Message-ID: <20180715055723.GA18578@1wt.eu> References: <20180501205448.GE10479@thunk.org> <20180501220228.GD7397@sasha-vm> <20180502043017.GA11938@1wt.eu> <20180502194139.GA18390@sasha-vm> <20180502200229.GA12729@1wt.eu> <20180714173812.xhfwtcijlxebmn2k@devuan> <20180714194716.GA27381@amd> <4fbbb00c-dcc1-8a2a-a1c6-8d61d545b7b6@roeck-us.net> <20180714210913.GA31065@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180714210913.GA31065@amd> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 14, 2018 at 11:09:13PM +0200, Pavel Machek wrote: > > For anyone interested in making sure that obscure (whatever that means) > > drivers are tested for stable releases, but does not want to spend time on it, > > all I can recommend is to implement qemu support for it and let me know, > > and I'll be happy to add a respective test to my test farm. > > Umm. Yes, qemu support for every driver would be nice, but will not happen. Well, I would argue that driver code changes much less than core code between kernel versions, and that most of the changes in drivers are mostly infrastructure changes. Drivers don't evolve much in general, they are written, tested, merged, they receive fixes and then they only receive infrastructure changes that touch all drivers in the same category. When you backport fixes to drivers, it is very common that the code looks almost the same between even a very old kernel and mainline, and when not, the adaptations generally look quite straightforward, and if not it means the driver changed significantly and in this case we don't backport the fix as we don't even know if it is relevant. I've always had much more difficulties backporting fixes under the arch/ subdir where stuff changes all the time. Sometimes a patch applies but doesn't even compile. I learned not to play black magic in this area because some patches are subtle and if the code changed you often need the author and/or maintainers to double-check. Some subsystems like KVM improve a lot over time and are difficult to backport to as well, and even if you manage to properly backport a fix you're uncertain how to verify you backported it well. Similarly you don't want to improvise yourself the backporter of the year in this area. Drivers are often OK and are the ones harder to test, so in the end you don't miss much by your limited ability to test a backport there. What I can certainly say as a stable kernel user is that the regression rate is so low compared to the fix rate that I never have any problem upgrading to a more recent version in the same branch, because the number of problems that will be fixed is much higher than the risk of a single regression. As Guenter says, we can always improve, but the most important is to deliver fixes in a timely manner. When you see that any LTS branch accumulates around 5000 fixes over time, you understand that any single new kernel being released contains around 5000 bugs left to be found. Fixing them quickly is much more important to me (as a user) than ensuring that I will not reach 5001 by inheriting from a poorly tested backport. My hope is that thanks to all the automated testing in place we can further accelerate the backport rate so that a stable kernel reaches in 2 months the level of quality that we previously used to reach only after one year. And I think we're already about there, as both 4.4.x and 4.9.x in their early versions (x < 10) were already very good for various use cases. 4.17.5 I'm using on this PC looks pretty slick as well. Overall it means that we can provide a clean upgrade path for users so that they don't stick to bogus or insecure kernels by fear of upgrading. We can always argue that a bug may appear once in a while but for me while technically this is true, stastistically this is just FUD and is not relevant to end users' real usage. Willy