All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Krzysztof Kozlowski <krzk@kernel.org>, ksummit@lists.linux.dev
Subject: Re: [MAINTAINERS SUMMIT] The place of AI code review in the Linux Kernel process
Date: Thu, 23 Jul 2026 09:13:30 +0200	[thread overview]
Message-ID: <20260723091324.18f434fc@foz.lan> (raw)
In-Reply-To: <78346752-E2AC-4ACB-929D-70A45794474C@linux.dev>

On Fri, 17 Jul 2026 14:14:49 -0700
Roman Gushchin <roman.gushchin@linux.dev> wrote:

> > On Jul 17, 2026, at 2:05 PM, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> > 
> > On 15/07/2026 18:55, Roman Gushchin wrote:  
> >> * Prompt development and testing.
> >> Currently, prompts are maintained in two GitHub repositories and are
> >> changed manually or with the help of AI coding agents. However, there is
> >> no established practice for testing them, especially across various LLM
> >> models. At the last LSFMMBPF conference, there was a discussion about
> >> moving them into the kernel tree. I see some pros and cons to this
> >> approach, but the ownership and testing models are not entirely clear.  
> > 
> > Prompts in a meaning how to parse kernel, work with it or produce
> > reports: yeah, sure.
> > 
> > Prompts teaching kernel code: I don't think so. I find it really
> > incorrect approach to create a dedicated and duplicated basic knowledge
> > for LLMs, instead of focusing on knowledge for developers. I understand
> > that LLM has to be taught basics of C [1], but we should not duplicate
> > kernel coding style or kernel rules into LLM-only instructions. Instead:  
> 
> I agree.
> I also experiment with Sashiko auto-creating prompts based on human
> feedback in emails and initial results look promising. So maybe we don’t
> even need to write too much manually for LLMs.

Sounds interesting, but IMO before activating such prompts, the best would
be if, before applying the change, it would request the subsystem maintainer's 
approval, presenting him with the review diff without and after the new prompt.

Thanks,
Mauro

      reply	other threads:[~2026-07-23  7:13 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-15 16:55 [MAINTAINERS SUMMIT] The place of AI code review in the Linux Kernel process Roman Gushchin
2026-07-15 17:51 ` Miguel Ojeda
2026-07-15 21:37   ` Roman Gushchin
2026-07-17  6:43     ` Ben Copeland
2026-07-16 15:32   ` Sasha Levin
2026-07-15 17:56 ` Mauro Carvalho Chehab
2026-07-15 18:57 ` Jason Gunthorpe
2026-07-15 21:21   ` Roman Gushchin
2026-07-16 22:26     ` Mauro Carvalho Chehab
2026-07-17 23:17     ` Linus Torvalds
2026-07-18  0:01       ` Mark Brown
2026-07-18  1:09       ` Laurent Pinchart
2026-07-18  1:17         ` Linus Torvalds
2026-07-18 13:38           ` Arnaldo Melo
2026-07-18 14:14           ` Guenter Roeck
2026-07-18 16:15             ` SJ Park
2026-07-23  6:50             ` Mauro Carvalho Chehab
2026-07-23 14:34               ` Guenter Roeck
2026-07-23 14:59                 ` Mark Brown
2026-07-18 16:13       ` Jason Gunthorpe
2026-07-15 19:45 ` Dmitry Torokhov
2026-07-16  0:03 ` Steven Rostedt
2026-07-16  0:30 ` SJ Park
2026-07-17 21:05 ` Krzysztof Kozlowski
2026-07-17 21:14   ` Roman Gushchin
2026-07-23  7:13     ` Mauro Carvalho Chehab [this message]

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=20260723091324.18f434fc@foz.lan \
    --to=mchehab+huawei@kernel.org \
    --cc=krzk@kernel.org \
    --cc=ksummit@lists.linux.dev \
    --cc=roman.gushchin@linux.dev \
    /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.