Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7416690pxb; Thu, 18 Feb 2021 09:30:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzPbq8X72I4w6y87dA+sXfTeVTxNi5Tfe2qUU8QN5n1ykqRxkylBGaYlxus8mEVWy9VAoeX X-Received: by 2002:a17:907:78d5:: with SMTP id kv21mr4994055ejc.461.1613669416678; Thu, 18 Feb 2021 09:30:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613669416; cv=none; d=google.com; s=arc-20160816; b=CzT+mverVJUxzBp7Y2DtLX+Duf9/Y5Hr5yrsTkMdCoZqtNeFJWAFfTZUvzBfIHo+JU fu5V9JVYJd+kF1+vIhUVxhWAuyO/DLrOul2qMC0tyJUhw6TVmAO1ZlfE2/VDx3jkpMsv 1tvQpK5X4rEcbZyfwMJmPd/Ap37qUux/7rSDl0dn7wvo2xN3BtmLhj6jdu3waHhk0qft BFV6lkBKUt/5wnQvqQRGfUTxtk3C9pU9/4/jputM0QO1Um5ulM02wR/JiXAaUwYf19k9 1mDDCYouoI35uqSEWtN1fpBjGXkzd88gYAKpaF3I83e+tlS1xtuB5T5u6nlHqdH1nBLx vbeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=RI7StUwkfmECrYis0hg8ICadspjFPeeuEtIfC2cdRdg=; b=mCFU06oXoUtWvJHa7BFjJnSitl3HarNIHB4193jOTjwNdaN2+HQUW2jWURlN6PE6cK FK6NCPpChkv08IWqGG8U/Rtsxwvwr5u4gss43XQMBTYKe8YUKuUGKf38ba7C1l+leC9O 7NDLbl+KqD1YMVUq29gX0h3ktwVxfPPQMNFXzeBa1OK1+p2nDhp7+PcqyZoCiA0EE/az o59qbAWQvoxqMLHWDr3w9qAdhGpoDBjZ9fWZ+jeuAiabWlyUtcV36EN2ar4Rx+4EEPaC RIJz3jXBCkof3I6EzOf7RDP0BMbC1ztRPaLlMSr8GqEiyFiXXj+qV+uFFo32ZdFMy4+M 6ORw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d11si4044445eje.586.2021.02.18.09.29.51; Thu, 18 Feb 2021 09:30:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230426AbhBRR2l (ORCPT + 99 others); Thu, 18 Feb 2021 12:28:41 -0500 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:49859 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbhBROqe (ORCPT ); Thu, 18 Feb 2021 09:46:34 -0500 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 11IEXf7P014137; Thu, 18 Feb 2021 15:33:41 +0100 Date: Thu, 18 Feb 2021 15:33:41 +0100 From: Willy Tarreau To: Jari Ruusu Cc: Greg Kroah-Hartman , Scott Branden , Linux ARM , LKML , BCM Kernel Feedback Subject: Re: 5.10 LTS Kernel: 2 or 6 years? Message-ID: <20210218143341.GB13671@1wt.eu> References: <8cf503db-ac4c-a546-13c0-aac6da5c073b@broadcom.com> <20210218113107.GA12547@1wt.eu> <602E766F.758C74D8@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <602E766F.758C74D8@users.sourceforge.net> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 18, 2021 at 04:15:11PM +0200, Jari Ruusu wrote: > Willy Tarreau wrote: > > The only set of fixes that can be trusted are the "official" stable > > kernels, because they are the only ones that are approved by the patches > > authors themselves. Adding more stuff on top of stable kernels is fine > > (and done at your own risk), but randomly dropping stuff from stable > > kernels just because you don't think you need that is totally non-sense > > and must not be done anymore! > > This may be little bit off-topic... but stable kernel.org kernels > can also bit-rot badly because of "selective" backporting... as in > anything that does not apply cleanly gets dropped regardless of > how critical they are. Sure it will. And the huge difference is that it usually gets quickly spotted and fixed. For sensitive servers I tend to apply the principle of not necessarily updating to the latest stable kernel but one or two versions before it which nobody complained about. And I'm pretty fine with skipping a significant number of updates (we all do that anyway). > I will give you one example: Intel WiFi (iwlwifi) on 4.19.y > kernel.org stable kernels is currently missing many critical > locking fixes. As a result, that in-tree iwlwifi driver causes > erratic behavior to random unrelated processes, and has been doing > so for many months now. My not-so-politically correct opinion is > that in-tree iwlwifi is completely FUBAR unless someone steps up > to do professional quality backport of those locking fixes from > upstream out-of-tree Intel version [1] [2] of the driver. I see, and it happens with plenty of other drivers or subsystems. Is it in any way the stable branch's or stable maintainer's fault if someone doesn't correctly do the backporting job on their driver ? No. Is it expected that a driver works perfectly from its inclusion ? No. Is it expected that a driver can always be fixed without a significant rework that risks more breakage than fixes ? No. Some design limitations or errors can require so many changes that they're unfixable in place. I even had to *document* security issues in 2.4 because fixing them was riskier than keeping them. This happens in any piece of software. It's always been the case that some older kernels work less well than some newer ones due to limited features, partially wrong drivers etc, and getting better drivers is a valid reason for upgrading to a more recent one. However the older driver ought to continue to be maintained in a working state for those for whom it works fine. > For me > only way to get properly working WiFi on my laptop computer is to > compile that Intel out-of-tree version. Sad, but true. That's perfectly fine from my point of view. I've been doing the same for certain driver (e.g. e100 vs eepro100 15 years ago) and have been pleased to be able to stop using those out-of-tree versions. This is also in order to make this possible for those who need to do it that LTS kernels provide a lot of value: such out-of-tree drivers tend to take some time to resynchronize with latest updates, and once they're updated, you can use your machine for quite some time with them. Obviously if somemone is able to figure the required fixes for the locking bugs you mentioned above and to submit patches for stable branches, I'm sure Greg will appreciate! But maybe that's not fixable there and you need to upgrade. Usually you pick an LTS kernel for a specific hardware. If it works that's great. But you cannot expect hardware to suddenly start to work in the middle of a stable kernel. Sometimes it happens (PCI IDs) but that's basically all and that's not their purpose. Willy