All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: Sasha Levin <sashal@kernel.org>
Cc: "David Hildenbrand (Arm)" <david@kernel.org>,
	Willy Tarreau <w@1wt.eu>,  Borislav Petkov <bp@alien8.de>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	 Jonathan Corbet <corbet@lwn.net>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	 Leon Romanovsky <leon@kernel.org>,
	Mark Brown <broonie@kernel.org>,
	 Geert Uytterhoeven <geert@linux-m68k.org>,
	Marc Zyngier <maz@kernel.org>,
	 Eric Dumazet <edumazet@google.com>,
	Hans de Goede <hansg@kernel.org>, Andrew Lunn <andrew@lunn.ch>,
	 Jonathan Cameron <jic23@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	 Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	 Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Theodore Ts'o <tytso@mit.edu>,
	 Security Officers <security@kernel.org>,
	workflows@vger.kernel.org, linux-doc@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: Re: [PATCH 1/2] docs: coding-assistants: ask for short changelogs and a cover letter
Date: Fri, 27 Nov 2026 14:20:15 +0000	[thread overview]
Message-ID: <awmJ2c87NSDjtSwp@gremlin> (raw)
In-Reply-To: <20261127133756.455469-1-sashal@kernel.org>

On Fri, Nov 27, 2026 at 08:37:56AM -0500, Sasha Levin wrote:
> On Fri, Nov 27, 2026 at 09:54:07AM +0000, Lorenzo Stoakes (ARM) wrote:
> >On Fri, Nov 27, 2026 at 10:44:56AM +0100, David Hildenbrand (Arm) wrote:
> >> So as usual: in the right hand it is very useful, In the wrong hands it's not.
>
> Very much the case. But we can't stop the "wrong hands" from using it, so we
> need guardrails around them that make it produce what we, as a community, think
> is the right thing.

These aren't guardrails, you are just trying to modify the output of
something that's broken here IMO.

>
> >I've dropped a bunch of reviewerships because if this keeps going, I'm going to
> >burnout completely.
> >
> >And to me the TL;DR is 'this bad thing you are dealing with on a daily basis -
> >is not bad, it's good, and we should have more of it, but only if you hold it
> >right'.
>
> I think we're actually agreeing here: LLMs write crappy commit messages today.
> My point was that they have the capability to do this really well (the "and" in
> that line should have been "than"), we're just not getting that out of them
> right now. These things just helped prove the Riemann hypothesis, I have a hard
> time believing that a good kernel commit message is where they hit their limit.

Allegedly proven [ as I gather the Stoakes-Navier proof was not in fact that ]
:) and as I recall that proof is a GiB of text ;) so y'know, kinda going the
other way... :P

But I have yet to see an LLM capable of being able to write a good commit
message, even when effort is expended to help...

And people aren't going to be using the latest model with unlimited
resources to do this, they'll use whatever-they-have.

>
> And it's not just you or me. That's exactly why the cover letter quotes a whole
> list of maintainers: pretty much everyone is hitting this. The series is there
> to push back on what you're dealing with, not to ask for more of it.

It's based on a presumption that the instruction will make things any better.

If anything, I've found that an LLM attempting a more succinct output often
simply outputs the same trash with missing steps, making our lives even
harder.

I think a placeholder works better, personally.

But I don't think this, as-is, is really going to help anything.

+10. Write the cover letter described in "Cover letter" above from what the
+    previous steps produced. This part is not optional, not even for a single
+    patch or a one-line fix.

BTW this seems to be instructing LLMs to generate cover letters for single
patches which I don't personally love to see.

And it therefore gives the LLM double the chance to post awful word
salad. So I'd prefer not to have that clause ideally.

--
Cheers, Lorenzo

  parent reply	other threads:[~2026-11-27 14:20 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 17:19 [PATCH 0/2] docs: ask AI-assisted patches for short changelogs and a cover letter Sasha Levin
2026-11-26 17:19 ` [PATCH 1/2] docs: coding-assistants: ask " Sasha Levin
2026-11-27  1:34   ` Krzysztof Kozlowski
2026-11-27  1:49     ` Borislav Petkov
2026-11-27  2:19       ` Sasha Levin
2026-11-27  5:23         ` Willy Tarreau
2026-11-27  9:18         ` Lorenzo Stoakes (ARM)
2026-11-27  9:29           ` Willy Tarreau
2026-11-27  9:38             ` Lorenzo Stoakes (ARM)
2026-11-27 14:11               ` Mark Brown
2026-11-27 14:25                 ` Lorenzo Stoakes (ARM)
2026-11-27 14:31                   ` Sasha Levin
2026-11-27 18:05                   ` Mark Brown
2026-11-27  9:44             ` David Hildenbrand (Arm)
2026-11-27  9:54               ` Lorenzo Stoakes (ARM)
2026-11-27 13:37                 ` Sasha Levin
2026-11-27 13:52                   ` David Hildenbrand (Arm)
2026-11-27 14:20                   ` Lorenzo Stoakes (ARM) [this message]
2026-11-27 14:31                     ` Sasha Levin
2026-11-27 14:51                       ` Lorenzo Stoakes (ARM)
2026-11-27 15:39                         ` Sasha Levin
2026-11-27 16:27                           ` Andrew Lunn
2026-11-27 16:46                           ` Lorenzo Stoakes (ARM)
2026-11-27 16:59                             ` Sasha Levin
2026-11-30 12:40                               ` Lorenzo Stoakes (ARM)
2026-11-30 14:38                                 ` Sasha Levin
2026-11-30 14:52                                   ` Leon Romanovsky
2026-11-30 14:55                                     ` Lorenzo Stoakes (ARM)
2026-11-30 15:04                                       ` Leon Romanovsky
2026-11-30 15:32                                         ` Lorenzo Stoakes (ARM)
2026-11-30 17:15                                           ` Randy Dunlap
2026-11-30 17:52                                             ` Lorenzo Stoakes (ARM)
2026-11-30 15:30                                   ` Lorenzo Stoakes (ARM)
2026-12-01  7:08                                     ` Leon Romanovsky
2026-11-30 17:05                                   ` Vlastimil Babka (SUSE)
2026-11-30 17:12                                     ` Randy Dunlap
2026-12-01 18:23                                       ` Sasha Levin
2026-11-27 19:08                             ` Andrew Morton
2026-11-27 19:21                               ` David Woodhouse
2026-11-30 15:37                               ` Lorenzo Stoakes (ARM)
2026-11-29 14:00                             ` Leon Romanovsky
2026-11-29 13:31                           ` Leon Romanovsky
2026-11-27 17:51                       ` Vlastimil Babka (SUSE)
2026-11-27 18:03                         ` Sasha Levin
2026-11-27 18:14                           ` Vlastimil Babka (SUSE)
2026-11-27 18:26                             ` Sasha Levin
2026-11-27 19:30                               ` Liam R. Howlett
2026-11-27 23:26                                 ` Sasha Levin
2026-11-30 16:30                                   ` Lorenzo Stoakes (ARM)
2026-11-29 13:50                                 ` Leon Romanovsky
2026-11-30 11:20                               ` Geert Uytterhoeven
2026-11-29  8:05           ` Krzysztof Kozlowski
2026-11-30 15:39             ` Lorenzo Stoakes (ARM)
2026-11-29 13:13           ` Leon Romanovsky
2026-11-29 13:36             ` Sasha Levin
2026-11-29 13:39               ` Leon Romanovsky
2026-11-30 15:57                 ` Lorenzo Stoakes (ARM)
2026-12-01  1:38           ` Laurent Pinchart
2026-11-30 15:01   ` Mark Brown
2026-11-26 17:19 ` [PATCH 2/2] docs: security-bugs: ask AI-assisted fixes for their " Sasha Levin
2026-11-27  5:29   ` Willy Tarreau

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=awmJ2c87NSDjtSwp@gremlin \
    --to=ljs@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=andrew@lunn.ch \
    --cc=bp@alien8.de \
    --cc=broonie@kernel.org \
    --cc=corbet@lwn.net \
    --cc=david@kernel.org \
    --cc=edumazet@google.com \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hansg@kernel.org \
    --cc=jic23@kernel.org \
    --cc=krzk@kernel.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=leon@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=sashal@kernel.org \
    --cc=security@kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=torvalds@linux-foundation.org \
    --cc=tytso@mit.edu \
    --cc=w@1wt.eu \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.