ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Jiri Kosina <jikos@kernel.org>
Cc: ksummit-discuss@lists.linuxfoundation.org
Subject: Re: [Ksummit-discuss] [MAINTAINERS SUMMIT] stable kernel process automation and improvement
Date: Mon, 8 Jul 2019 14:34:21 +0200	[thread overview]
Message-ID: <20190708123421.GA20112@kroah.com> (raw)
In-Reply-To: <nycvar.YFH.7.76.1907081329580.5899@cbobk.fhfr.pm>

On Mon, Jul 08, 2019 at 01:35:15PM +0200, Jiri Kosina wrote:
> On Mon, 8 Jul 2019, Sasha Levin wrote:
> > 
> > >> If we were to start avoiding driver updates, it would act as an
> > >> incentive for people not to upgrade their kernel.
> > >
> > >I'm not sure I follow the logic here?
> > 
> > The way I see it, the lower your "effective delta" is between to
> > kernels, the easier it is to move forward. For example, if I have a
> > product that runs on 4.19 and uses all our core kernel code + 10
> > drivers, and I know that those drivers had most of the fixes backported
> > to my LTS tree, I'd feel much more confident going to 5.4 knowning that
> > I already have most of the patches that come with 5.4.
> > 
> > For me it's a matter of how one would budget a move from a kernel X LTS
> > to kernel Y LTS, and I think that as that budget requirement grows it's
> > actually harder to actually do it (and convince management), acting as a
> > negative incentive to stay with whatever works now.
> 
> But where does the 'stable' aspect appear here?
> 
> I think it's reasonable to expect 'stable' to mean 'minimal number of 
> changes needed to maintain stability of the kernel', and that I believe 
> was the original purpose of stable tree.
> 
> Now you seem to be repurposing 'stable' as 'as close to upstream as 
> possible in order to minimize cost of version updates'.

"stable" means "All the bugfixes that we have in Linus's tree,
backported to this one as well to resolve known issues".  That's all
that is happening here with the autosel stuff.  There are a load of
subsystems that still do not tag stuff for stable backporting, and
sometimes even the maintainers miss them as well (I am guilty of that as
well.)  So autosel finds those fixes and backports them, it's no
different from a distro doing the exact same thing when a bug report
comes into it, but it happens _BEFORE_ the bug report happens.

> I guess that's one of the reasons why distros are gradually turning away 
> from stable tree the main purpose of distros is to provide stability, 
> while it clearly is not minimizing acumulation of cost for future version 
> updates.

That's directly opposite of what I see happening with loads of
real-world devices.

As proof of this, and as part of a talk I gave a few weeks ago, I can
quote the Android security team.  They kept track of all requests that
they made to be backported to their device trees for 2018.  Out of 218
requests, 201 of them were _ALREADY_ in the LTS release tree.  The other
remaining ones were due to out-of-tree code being in the devices, or due
to bugs in backports that were not upstream.

So again, bugs are being fixed _before_ people report them, which sounds
exactly like what a distro needs to have happen for them :)

thanks,

greg k-h

  reply	other threads:[~2019-07-08 12:34 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-03  1:35 Sasha Levin
2019-07-03 14:57 ` Laura Abbott
2019-07-05 13:54 ` Michael Ellerman
2019-07-05 14:13   ` Takashi Iwai
2019-07-05 16:17     ` Greg KH
2019-07-05 16:52     ` Sasha Levin
2019-07-05 16:41 ` Mark Brown
2019-07-05 20:12   ` Sasha Levin
2019-07-06  0:32     ` Mark Brown
2019-07-08 11:02       ` Sasha Levin
2019-07-08 11:35         ` Jiri Kosina
2019-07-08 12:34           ` Greg KH [this message]
2019-07-08 17:56           ` Sasha Levin
2019-07-08 12:37         ` Mark Brown
2019-07-08 14:05           ` Guenter Roeck
2019-07-08 14:33             ` Takashi Iwai
2019-07-08 15:10               ` Greg KH
2019-07-08 15:18                 ` Takashi Iwai
2019-07-08 18:08                 ` Sasha Levin
2019-07-08 21:31                 ` Jiri Kosina
2019-07-09 15:44                   ` Rafael J. Wysocki
2019-07-09 21:05                     ` Takashi Iwai
2019-07-09 15:21                 ` Laura Abbott
2019-07-08 14:50             ` Mark Brown
2019-07-08 15:06               ` Greg KH
2019-07-08 15:27                 ` Mark Brown
2019-07-08 18:01           ` Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190708123421.GA20112@kroah.com \
    --to=greg@kroah.com \
    --cc=jikos@kernel.org \
    --cc=ksummit-discuss@lists.linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox