Maintainer workflows discussions
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: "Lorenzo Stoakes (ARM)" <ljs@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: Mon, 30 Nov 2026 09:38:39 -0500	[thread overview]
Message-ID: <aw2Kb9LzRwYzTn4N@laps> (raw)
In-Reply-To: <aw1q05t0GOw_v9kt@gremlin>

On Mon, Nov 30, 2026 at 12:40:31PM +0000, Lorenzo Stoakes (ARM) wrote:
>(Sigh, I guess I got dragged back into this... maybe I'll regret it :)
>
>On Fri, Nov 27, 2026 at 11:59:51AM -0500, Sasha Levin wrote:
>> On Fri, Nov 27, 2026 at 04:46:58PM +0000, Lorenzo Stoakes (ARM) wrote:
>> >I haven't a clue why anybody would say they were too short, I have never seen a
>> >slopped patch where that was the case?
>> >
>> >Why would adding more text address faking? That seems orthogonal really?
>>
>> Leon gave an example in the thread on the user-visible impact patch [1]. The
>> patch came with a trimmed, three line KASAN report, and only the full log
>> showed that the crash came from an out-of-tree module written to provoke it.
>>
>> >Am we in the community permitted to debate the defaults? Or are they already
>> >decided upon?
>>
>> Of course, nothing is decided. I'm sorry if it came across as "shut up", I'm
>> honestly not trying to avoid the debate here, I'm just trying to find a middle
>> ground.
>
>There's no 'middle ground', the commit message literally cites numerous
>maintainers complaining about over-long AI-generated crap, then you defend
>_generating more AI crap text_ by, AFAICT, mis-citing Leon as the one
>counter-example.

Did you see the actual patch I've sent? 95% of it is an attempt to make the
commit message shorter, more concise, and only include useful details. The
other 5% is the escape hatch for Leon's usecase, which we could easily remove
in the future.

I think that some of the points you made further down in your reply argue a
similar point, that this series makes commit messages longer somehow, but this
really isn't the case: the goal here is to make the actual commit messages
shorter and better.

>And when I push back on that, you respond with 'subsystems can specify what they
>want'. I'm not sure how else to view that?

It wasn't because of some secret decision, it's because we already have
per-subsystem rules around commit messages that are incompatible with
eachother, so there's no way to write a subsystem-agnostic LLM guide that makes
all subsystems happy. 

>Re a concrete suggestion, pretty sure I said, but my suggestion is to amend this
>series to not tell the AI to generate _more crap_.

We don't have to include the cover letter part, but as you (and others) noted
earlier, just asking it to be more concise would not lead to better results.

I suppose that I really want to keep the stuff that would go into the cover
letter is because I feel we need to experiment here and see how different LLMs
respond to our prompting, and we might need to adjust certain details based on
what we see. Without all the data in the cover letter we won't have the
information we need to make a good decision going forward.

>Also don't tell it to add a cover letter to single patches, violating the
>conventions of probably most of the kernel but certainly mm where out of the
>~1000 odd recent single patches sent maybe ~20 had a cover letter, and were
>likely corrected on that?

So I don't like this either, but I don't have a better solution. We can skip it
altogether, but I'm not sure it'll make things "better" longer term.

>> I figured that for you it'd be "cheap" to automatically drop the cover letters,
>> and you'd get better commit messages.
>
>You're adding more work by doing that, also where we want cover letters for >1
>patch, you're now making the _key_ means of getting a gist of the series
>actively worse.
>
>So again, please, don't do that.

Cool, if there's a strong objection to the cover letter approach, let's figure
out some other way to make it better.

-- 
Thanks,
Sasha

  reply	other threads:[~2026-11-30 14:38 UTC|newest]

Thread overview: 52+ 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)
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 [this message]
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 15:30                                   ` Lorenzo Stoakes (ARM)
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-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: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=aw2Kb9LzRwYzTn4N@laps \
    --to=sashal@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=ljs@kernel.org \
    --cc=maz@kernel.org \
    --cc=rdunlap@infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox