From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Sasha Levin <sashal@kernel.org>,
ksummit@lists.linux.dev, Greg KH <gregkh@linuxfoundation.org>
Subject: Re: Proposal: Enhancing Commit Tagging for Stable Kernel Branches
Date: Sun, 14 Jul 2024 12:34:43 -0400 [thread overview]
Message-ID: <349afdccc045b5270d3a0870e7a3237253b5fea8.camel@HansenPartnership.com> (raw)
In-Reply-To: <61bb6e19-4eff-416b-a3d6-932f4a313f69@lunn.ch>
On Sun, 2024-07-14 at 17:35 +0200, Andrew Lunn wrote:
> > One of the big reasons patches get Fixes without cc:stable is
> > simply that it's an -rc fix for a merge window regression (so no
> > released kernel has it in and therefore no stable kernel needs it),
> > so you'd also need to explain that case in the improve docs
> > (because it's a genuine fix, just not a stable candidate).
>
> There is also the case where a patch which needs fixing has been
> queued into a -next tree by the Maintainer. So it is not even in an
> -rc yet, it is waiting or the next merge window to open.
>
> So what we seem to be talking about is a Fixes: tag pointing to a
> patch in a released kernel, which does not have a stable: tag.
>
> Why not simply get 0-day to enforce such patches must have a
> not-stable: tag? Such emails should quickly train developers to do
> the right thing.
Because the not-stable tag seems yet another really hard to use thing.
When Maintainers look at patches, about the first question is where did
this come from (Fixes answers that and we're having good success
tagging most things with it because it's obvious how to apply it---and
not derailing this is another good reason not to split the tag). The
next question is should this be backported. This is a bit more
subjective because it's a combination of would anyone actually see any
effects from this or is it a serious enough problem in general that it
might lead to some exploit or bug. However, this is the judgment call
that can often prove wrong with hindsight, so we have the send
separately to stable channel if this turns out to be the case. The
not-stable tag seems to be a pejorative statement that only an idiot
would backport this so don't. I can't see myself tagging any Fixes
tagged commit with that because it's a judgment call as likely to be
wrong as the initial cc:stable decision, so it seems more aimed at
enhancement patches that wouldn't have a Fixes tag anyway and therefore
shouldn't be backported.
I think the actual problem the not-stable tag is meant to solve is some
commits that aren't fixes tagged actually end up in stable when they
shouldn't be there; their presence causes bugs and whoever the
maintainer is gets annoyed that it got backported.
James
next prev parent reply other threads:[~2024-07-14 16:34 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-14 12:31 Sasha Levin
2024-07-14 13:35 ` James Bottomley
2024-07-14 15:35 ` Andrew Lunn
2024-07-14 16:34 ` James Bottomley [this message]
2024-07-14 18:38 ` Sasha Levin
2024-07-14 19:20 ` James Bottomley
2024-07-14 20:18 ` Sasha Levin
2024-07-15 18:00 ` Theodore Ts'o
2024-07-15 18:07 ` Mark Brown
2024-07-15 19:06 ` Dan Carpenter
2024-07-15 19:23 ` Steven Rostedt
2024-07-15 19:24 ` James Bottomley
2024-07-15 19:28 ` Steven Rostedt
2024-07-15 19:30 ` James Bottomley
2024-07-15 19:39 ` Dan Carpenter
2024-07-16 6:30 ` Greg KH
2024-07-15 20:25 ` Mauro Carvalho Chehab
2024-07-15 20:47 ` Dmitry Torokhov
2024-07-16 6:28 ` Greg KH
2024-07-16 12:20 ` Takashi Iwai
2024-07-17 22:05 ` Dan Carpenter
2024-07-18 7:34 ` Takashi Iwai
2024-07-18 14:48 ` Dan Carpenter
2024-07-18 14:56 ` James Bottomley
2024-07-18 16:36 ` Dan Carpenter
2024-07-19 0:49 ` NeilBrown
2024-07-19 1:35 ` Dan Carpenter
2024-07-19 11:55 ` Vegard Nossum
2024-07-23 14:14 ` Jiri Kosina
2024-07-16 14:51 ` Jason Gunthorpe
2024-07-16 19:38 ` Dan Carpenter
2024-07-15 6:15 ` Mauro Carvalho Chehab
2024-07-14 17:07 ` Linus Torvalds
2024-07-14 18:47 ` Sasha Levin
2024-07-14 19:27 ` Linus Torvalds
2024-07-14 20:27 ` Sasha Levin
2024-07-14 23:05 ` James Bottomley
2024-07-14 23:09 ` Linus Torvalds
2024-07-15 8:02 ` Greg KH
2024-07-15 8:53 ` Mauro Carvalho Chehab
2024-07-15 12:48 ` Mimi Zohar
2024-07-15 12:52 ` Mimi Zohar
2024-07-15 14:34 ` Alexandre Belloni
2024-07-15 14:40 ` Greg KH
2024-07-15 15:00 ` Jonathan Corbet
2024-07-15 15:07 ` James Bottomley
2024-07-15 15:19 ` Sasha Levin
2024-07-15 15:31 ` James Bottomley
2024-07-15 15:42 ` Dan Carpenter
2024-07-15 15:10 ` Greg KH
2024-07-15 17:45 ` Mauro Carvalho Chehab
2024-07-15 18:04 ` Mark Brown
2024-07-15 20:51 ` Dmitry Torokhov
2024-07-16 6:25 ` Greg KH
2024-07-16 15:00 ` Mark Brown
2024-07-14 23:29 ` NeilBrown
2024-07-14 23:29 ` Steven Rostedt
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=349afdccc045b5270d3a0870e7a3237253b5fea8.camel@HansenPartnership.com \
--to=james.bottomley@hansenpartnership.com \
--cc=andrew@lunn.ch \
--cc=gregkh@linuxfoundation.org \
--cc=ksummit@lists.linux.dev \
--cc=sashal@kernel.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