mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Sasha Levin <sashal@kernel.org>
Cc: Theodore Ts'o <tytso@mit.edu>,
	workflows@vger.kernel.org, ksummit@lists.linux.dev,
	Bradley Morgan <brads@mainlining.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	Mark Brown <broonie@kernel.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Leon Romanovsky <leon@kernel.org>,
	Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
	Thorsten Leemhuis <linux@leemhuis.info>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Kees Cook <kees@kernel.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Dan Carpenter <error27@gmail.com>,
	Miguel Ojeda <ojeda@kernel.org>,
	Alexei Starovoitov <alexei.starovoitov@gmail.com>,
	Julia Lawall <julia.lawall@inria.fr>, SJ Park <sj@kernel.org>,
	stable@vger.kernel.org
Subject: Re: [PATCH v5 3/6] agents: add a skill to determine stable tags
Date: Wed, 11 Nov 2026 18:50:33 -0800	[thread overview]
Message-ID: <20261111185033.694802885eb0934ed7452d6a@linux-foundation.org> (raw)
In-Reply-To: <avUlMcKIeJgmCg5J@laps>

On Wed, 11 Nov 2026 21:32:17 -0500 Sasha Levin <sashal@kernel.org> wrote:

> On Wed, Nov 11, 2026 at 05:10:55PM -0800, Andrew Morton wrote:
> >Marco had some thoughts on this just today:
> >
> >https://lore.kernel.org/CANpmjNMvM_TCs7Fao9+gM-NNpQyBKYumSuWOt_03ZX+tLwbjWw@mail.gmail.com
> 
> This makes a lot of sense.
> 
> >And Documentation/process/stable-kernel-rules.rst does ask for real
> >things, not theoretical stuff.
> 
> We've actually dropped[1] the "theoretical" part.
> 
> The problem we were seeing is that bots were sending real fixes, with a solid
> changelog, but not adding the stable@ tag.
> 
> Apparently our wording is pretty strong: unless you can prove that the issue is
> real, it remains theoretical. You'd have to either show a real case where you
> hit the bug, or to have reproduced the issue and can provide a way for us to
> reproduce it.
> 
> Most bots can't actually do that for technical reasons, even if the bug is 100%
> affecting our users, so they don't add the stable@ tag.

OK, I can see that's a problem.  The theoretical userspace-effects
statement will help here.

> >Also, I would keenly like to see changelogs clearly explain *why* a
> >backport is proposed.  As I have said 1000 times, "when fixing a bug
> >please clearly describe the userspace-visible runtime effects of that
> >bug".  Can we pleeeeeeeeeeze get this requirement clearly enshrined in
> >this patcset somewhere where the LLMs will read it and comply?  It's
> >really simple for the LLMs to cook up a paragraph for this, if so
> >directed.
> 
> This is a great point, and would make our lives much easier too.

Oh bless you, yes!

> It sounds a lot like something that humans would benefit from hearing as well?

Humans don't read stuff ;) But it would give me something to ask them to go
look at.  And to make their LLM go look at.


I picture some poor downstream person looking at a screenful of AI
babble wondering "should I add this to our kernel and if so why".  We
should tell them!

otoh, downstream people have AI too, so they can do what I do 5-10
times per day:

describe the worst-case userspace-visible runtime effects of this bug
<paste>

> If so, I can send a patch tomorrow to add it to
> Documentation/process/submitting-patches.rst and refer to it explicitly in the
> agents file?

We can't restate this too often IMO.  It's maddening.  So many
changelogs follow this form:

- here's what the code does
- here's why that's wrong
- here's what I did

So I sit there staring at this thinking "OK, but why should I care?".

Also, what's wrong with today :)


  reply	other threads:[~2026-11-12  2:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11 22:59 [PATCH v5 0/6] agents: add skills for Fixes tags, stable tags, similar bugs, and commit messages Theodore Ts'o
2026-11-11 22:59 ` [PATCH v5 1/6] agents: add infrastructure for agent resources Theodore Ts'o
2026-11-11 22:59 ` [PATCH v5 2/6] agents: add a skill to determine Fixes tags Theodore Ts'o
2026-11-11 22:59 ` [PATCH v5 3/6] agents: add a skill to determine stable tags Theodore Ts'o
2026-11-12  1:10   ` Andrew Morton
2026-11-12  2:32     ` Sasha Levin
2026-11-12  2:50       ` Andrew Morton [this message]
2026-11-11 22:59 ` [PATCH v5 4/6] agents: add a skill to find other instances of a fixed bug Theodore Ts'o
2026-11-11 22:59 ` [PATCH v5 5/6] agents: add a skill to write commit messages Theodore Ts'o
2026-11-11 22:59 ` [PATCH v5 6/6] agents: add a skill to write KUnit tests Theodore Ts'o
2026-11-12  0:57   ` Mauro Carvalho Chehab
2026-11-12  1:12   ` Andrew Morton

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=20261111185033.694802885eb0934ed7452d6a@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=alexei.starovoitov@gmail.com \
    --cc=brads@mainlining.org \
    --cc=broonie@kernel.org \
    --cc=corbet@lwn.net \
    --cc=error27@gmail.com \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=julia.lawall@inria.fr \
    --cc=kees@kernel.org \
    --cc=konstantin@linuxfoundation.org \
    --cc=ksummit@lists.linux.dev \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=leon@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@leemhuis.info \
    --cc=mst@redhat.com \
    --cc=ojeda@kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=sashal@kernel.org \
    --cc=sj@kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=stable@vger.kernel.org \
    --cc=tytso@mit.edu \
    --cc=workflows@vger.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

all inboxes | Powered by JetHome®