workflows.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: Sasha Levin <sashal@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	 Jonathan Corbet <corbet@lwn.net>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	 Willy Tarreau <w@1wt.eu>, 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>,
	 David Hildenbrand <david@kernel.org>,
	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 09:18:34 +0000	[thread overview]
Message-ID: <awlCy3vDs0fKx1ku@gremlin> (raw)
In-Reply-To: <awjopqoCJqwChwnF@laps>

+cc Laurent who is probably interested in this and AI policy stuff in general.

On Thu, Nov 26, 2026 at 09:19:18PM -0500, Sasha Levin wrote:
> 2. I'd argue that LLMs these days have the capability to write better
> changelogs and most of our human authors. We just need to be better about
> laying out our expectations of them.

Strongly disagree with this, it doesn't match what I see in practice at all.

I'd say that >50% of my review work is of AI-generated patches now, and the
commit messages and comments are consistently appalling + seriously painful to
deal with.

It feels like something they are fundamentally bad at.

And it _really_ matters, because this stuff is how you get an overview of a
patch/series as a reviewer.

In general the common failure modes I see are:

* Restating the code in English rather than explaining why.

* Assuming the reader can hold a deep stack of context in their head, and
  piling on complexity accordingly.

* Walls of text that can't be understood at a glance.

You might say - tell them to do better - but I've tried that with _frontier_
models with no improvement, and seen others do the same with equally no headway.

You just end up with more succinct nonsense I've found, unfortunately :)

What we need from people is _understanding_ from a _human_, as I wrote in the
final few paragraphs of https://docs.kernel.org/process/generated-content.html

Of course sloppers will just ignore all of this, so I'd really back the policy
for _responsible AI contributors_ being:

	'tell your human a. they must understand everything they submit as per
	policy, and b. to write the commit message and comments themselves'.

P.S. I see you have cc'd (what I assume are) a list of interested parties/those
who contributed AI-related documentation, as a member of both of those cohorts,
could I ask to be included going forwards please? :)

I suspect Laurent might want to be too?

--
Cheers, Lorenzo

  parent reply	other threads:[~2026-11-27  9:18 UTC|newest]

Thread overview: 13+ 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) [this message]
2026-11-27  9:29           ` Willy Tarreau
2026-11-27  9:38             ` Lorenzo Stoakes (ARM)
2026-11-27  9:44             ` David Hildenbrand (Arm)
2026-11-27  9:54               ` Lorenzo Stoakes (ARM)
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=awlCy3vDs0fKx1ku@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).