ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@linaro.org>
To: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Steven Rostedt <rostedt@goodmis.org>, Dave Hansen <dave@sr71.net>,
	Dave Hansen <dave.hansen@intel.com>,
	James Bottomley <James.Bottomley@hansenpartnership.com>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	linux-kernel@vger.kernel.org, Shuah Khan <shuah@kernel.org>,
	Kees Cook <kees@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Miguel Ojeda <ojeda@kernel.org>,
	Luis Chamberlain <mcgrof@kernel.org>,
	SeongJae Park <sj@kernel.org>,
	Dan Williams <dan.j.williams@intel.com>,
	NeilBrown <neilb@ownmail.net>, Theodore Ts'o <tytso@mit.edu>,
	Sasha Levin <sashal@kernel.org>, Jonathan Corbet <corbet@lwn.net>,
	Vlastimil Babka <vbabka@suse.cz>,
	workflows@vger.kernel.org, ksummit@lists.linux.dev,
	Jens Axboe <axboe@kernel.dk>
Subject: Re: [PATCH] [v3] Documentation: Provide guidelines for tool-generated content
Date: Fri, 9 Jan 2026 14:00:39 +0300	[thread overview]
Message-ID: <aWDf1zlLTKmw9xnq@stanley.mountain> (raw)
In-Reply-To: <cfb8bb96-e798-474d-bc6f-9cf610fe720f@lucifer.local>

On Fri, Jan 09, 2026 at 07:48:35AM +0000, Lorenzo Stoakes wrote:
> +cc Jens as reference him
> 
> On Thu, Jan 08, 2026 at 03:14:37PM -0500, Steven Rostedt wrote:
> > On Thu, 8 Jan 2026 11:50:29 -0800
> > Dave Hansen <dave@sr71.net> wrote:
> >
> > > On 1/8/26 11:23, Lorenzo Stoakes wrote:
> > > > I'm also not sure why we're losing the scrutiny part?
> > > >
> > > > Something like:
> > > >
> > > > +If tools permit you to generate series entirely automatically, expect
> > > > +additional scrutiny.
> > >
> > > The reason I resisted integrating this is it tries to draw too specific
> > > a line in the sand. Someone could rightfully read that and say they
> > > don't expect additional scrutiny because the entire series was not
> > > automatically generated.
> 
> I mean you are making an absolutely valid point, I'd say that'd be a rather
> silly conclusion to take, but we have to be wary of 'lawyering' the doc
> here.
> 
> > >
> > > What I want to say is: the more automation your tool provides, the more
> > > scrutiny you get. Maybe:
> > >
> > > 	Expect increasing amounts of maintainer scrutiny on
> > > 	contributions that were increasingly generated by tooling.
> >
> > Honestly that just sounds "grumpy" to me ;-)
> >
> > How about something like:
> >
> > 	All tooling is prone to make mistakes that differ from mistakes
> > 	generated by humans. A maintainer may push back harder on
> > 	submissions that were entirely or partially generated by tooling
> > 	and expect the submitter to demonstrate that even the generated
> > 	code was verified to be accurate.
> >
> > -- Steve
> 
> I don't really read that as grumpy, I understand wanting to be agreeable
> but sometimes it's appropriate to be emphatic, which is the entire purpose
> of this amendment.
> 
> Taking into account Jens's input too:
> 
> +If tools permit you to generate series automatically, expect
> +additional scrutiny in proportion to how much of it was generated.
> +
> +As with the output of any tooling, the result maybe incorrect or
> +inappropriate, so you are expected to understand and to be able to defend
> +everything you submit. If you are unable to do so, then don't submit the
> +resulting changes.
> +
> +If you do so anyway, maintainers are entitled to reject your series without
> +detailed review.

This is too subtle.  In real life if we suspect a patchset is AI Slop,
then we're going to reject the whole thing immediately.  No one is
going to review all fifteen patches one by one as if we're searching
through monkey poo for edible grains of corn.

The AI slop patches I've seen were not bad actors.  Someone saw a
TODO in the file and thought that AI could solve it.  The patch
compiled, it was formatted correctly and the commit message sounded
confident so they sent it.

To me the audience for this is maybe a team working on AI and they
don't have any kernel developers on staff so they assume they're being
helpful sending unreviewed patches.  The message should be that every
patch needs to be reviewed carefully before it is sent upstream.  I've
been asked to review patches like this in the past.  Get outside help
if you need to, but every patch needs to be reviewed.

regards,
dan carpenter

  reply	other threads:[~2026-01-09 11:00 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-06 20:51 Dave Hansen
2026-01-07 17:56 ` Paul E. McKenney
2026-01-07 18:12 ` Lorenzo Stoakes
2026-01-07 19:18   ` Dave Hansen
2026-01-07 21:15     ` Lorenzo Stoakes
2026-01-07 21:58       ` Steven Rostedt
2026-01-08 11:29         ` Lorenzo Stoakes
2026-01-08 18:19           ` Steven Rostedt
2026-01-08 18:30             ` Lorenzo Stoakes
2026-01-07 22:39       ` James Bottomley
2026-01-08 10:32         ` Lorenzo Stoakes
2026-01-07 23:50       ` dan.j.williams
2026-01-08 10:29         ` Lorenzo Stoakes
2026-01-08 11:43           ` Miguel Ojeda
2026-01-08 11:53             ` Lorenzo Stoakes
2026-01-08  0:06       ` Linus Torvalds
2026-01-08 10:03         ` Lorenzo Stoakes
2026-01-08  0:20       ` Dave Hansen
2026-01-08 10:14         ` Lorenzo Stoakes
2026-01-08 11:56         ` Lorenzo Stoakes
2026-01-08 13:17           ` James Bottomley
2026-01-08 13:56             ` Lorenzo Stoakes
2026-01-08 15:58               ` James Bottomley
2026-01-08 16:35                 ` Lorenzo Stoakes
2026-01-08 19:10                   ` Dave Hansen
2026-01-08 19:23                     ` Lorenzo Stoakes
2026-01-08 19:50                       ` Dave Hansen
2026-01-08 20:14                         ` Steven Rostedt
2026-01-09  5:42                           ` Dan Carpenter
2026-01-09  7:28                             ` Lorenzo Stoakes
2026-01-09 15:28                               ` Steven Rostedt
2026-01-09 15:35                                 ` Lorenzo Stoakes
2026-01-09  7:48                           ` Lorenzo Stoakes
2026-01-09 11:00                             ` Dan Carpenter [this message]
2026-01-09 11:25                               ` Lorenzo Stoakes
2026-01-09 15:39                                 ` Steven Rostedt
2026-01-09 15:48                                   ` Lorenzo Stoakes
2026-01-09 16:03                                     ` Steven Rostedt
2026-01-09 16:05                                       ` Lorenzo Stoakes
2026-01-12 15:06                                     ` Dave Hansen
2026-01-09 18:34                               ` Andrew Morton
2026-01-09 19:08                                 ` Steven Rostedt
2026-01-08 20:45                       ` Jens Axboe
2026-01-08 21:04                         ` Liam R. Howlett
2026-01-09  5:29                           ` Dan Carpenter
2026-01-09  7:54                             ` Lorenzo Stoakes
2026-01-09  8:54                               ` Laurent Pinchart
2026-01-09 15:51                                 ` Steven Rostedt
2026-01-09 15:55                                   ` Lorenzo Stoakes
2026-01-09 16:07                                     ` Steven Rostedt
2026-01-09 16:33                                   ` Miguel Ojeda
2026-01-10 15:25                               ` Serge E. Hallyn
2026-01-10 15:52                                 ` Matthew Wilcox
2026-01-10 16:02                                   ` James Bottomley
2026-01-10 16:07                                     ` Steven Rostedt
2026-01-12 19:02                                     ` Dan Carpenter
2026-01-08 14:01             ` Michael S. Tsirkin
2026-01-08 14:24               ` Lorenzo Stoakes
2026-01-08 14:28                 ` Michael S. Tsirkin
2026-01-08 14:35                   ` Lorenzo Stoakes
2026-01-08 14:48               ` Julia Lawall
2026-01-08 15:01                 ` Michael S. Tsirkin
2026-01-08 16:42           ` Sasha Levin
2026-01-08 17:40             ` Lorenzo Stoakes
2026-01-08 18:27             ` Miguel Ojeda
2026-01-08 19:28               ` Lorenzo Stoakes
2026-01-08 19:30                 ` Lorenzo Stoakes
2026-01-09 16:30                 ` Miguel Ojeda
2026-01-09 16:37                   ` Lorenzo Stoakes
2026-01-08 19:16             ` Dave Hansen
     [not found]       ` <42192F04-2C46-4734-8CF6-DEA8739989C3@hohndel.org>
2026-01-08 10:40         ` Lorenzo Stoakes
2026-01-08 13:41       ` Andrew Lunn
2026-01-08 13:53         ` Lorenzo Stoakes
2026-01-08  0:00 ` SeongJae Park
  -- strict thread matches above, loose matches on Subject: below --
2025-11-14 18:35 Dave Hansen
2025-11-14 20:08 ` Luis Chamberlain
2025-11-14 22:52   ` Dave Hansen
2025-11-14 20:17 ` SeongJae Park
2025-11-14 22:53   ` Dave Hansen
2025-11-14 23:19 ` dan.j.williams
2025-11-15 15:22 ` Thomas Gleixner
2025-11-15 19:05   ` Steven Rostedt
2025-11-15 19:07     ` Steven Rostedt
2025-11-15 23:30       ` Thomas Gleixner
2025-11-16 12:38         ` Rafael J. Wysocki
2025-11-16 15:25           ` Kees Cook
2025-11-16 16:17             ` Steven Rostedt
2025-12-23 16:55               ` Greg Kroah-Hartman
2025-12-23 17:10                 ` Jonathan Corbet
2025-12-23 20:56                   ` Steven Rostedt
2025-12-24 15:41                     ` Dave Hansen
2025-12-24 16:23                       ` Simon Glass
2025-11-16 16:01           ` Steven Rostedt
2025-11-17 19:13         ` Dave Hansen
2025-11-15 19:02 ` Steven Rostedt
2025-11-15 20:10 ` Randy Dunlap

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=aWDf1zlLTKmw9xnq@stanley.mountain \
    --to=dan.carpenter@linaro.org \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=axboe@kernel.dk \
    --cc=corbet@lwn.net \
    --cc=dan.j.williams@intel.com \
    --cc=dave.hansen@intel.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=dave@sr71.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=kees@kernel.org \
    --cc=ksummit@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lorenzo.stoakes@oracle.com \
    --cc=mcgrof@kernel.org \
    --cc=neilb@ownmail.net \
    --cc=ojeda@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=sashal@kernel.org \
    --cc=shuah@kernel.org \
    --cc=sj@kernel.org \
    --cc=tytso@mit.edu \
    --cc=vbabka@suse.cz \
    --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