Maintainer workflows discussions
 help / color / mirror / Atom feed
From: "Danilo Krummrich" <dakr@kernel.org>
To: "Roman Gushchin" <roman.gushchin@linux.dev>
Cc: "Krzysztof Kozlowski" <krzk@kernel.org>,
	"Greg KH" <gregkh@linuxfoundation.org>,
	"Konstantin Ryabitsev" <mricon@kernel.org>,
	"Guenter Roeck" <linux@roeck-us.net>,
	"Miguel Ojeda" <ojeda@kernel.org>, <sashiko-bot@kernel.org>,
	<sashiko-reviews@lists.linux.dev>, <sashiko@lists.linux.dev>,
	"Linux Kernel Workflows" <workflows@vger.kernel.org>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <kfree@google.com>
Subject: Re: Stop false review statements
Date: Tue, 19 May 2026 14:23:15 +0200	[thread overview]
Message-ID: <DIMNF65K9U66.1Q89HNYSQ0ZXB@kernel.org> (raw)
In-Reply-To: <C16C14F1-4D2F-4701-88CC-114F5233980D@linux.dev>

On Mon May 18, 2026 at 7:19 PM CEST, Roman Gushchin wrote:
>
>> On May 17, 2026, at 8:56 AM, Danilo Krummrich <dakr@kernel.org> wrote:
>> That said, I personally don't mind too much, I really like sashiko, which is
>> also why I asked for adding the driver-core list. My experience has been that it
>> does a very decent job in providing feedback for C code; my feeling is that
>> feedback for Rust code is not quite on par yet, but of course it also highly
>> depends on the complexity and scope of the corresponding changes.
>
> This is super interesting. An obvious idea is that the training set is
> relatively limited, if we’re talking rust for kernel code. Did you notice any
> common topics or patterns?

My experience is - and that's probably not surprising as it may tie back to the
relatively limited training set you mention above - that it sometimes loses
context at the FFI boundary, where it has to consider the semantics of the C and
the Rust APIs.

I think the difficult part is not necessarily that there is a language boundary
by itself, but rather that it can be difficult for LLMs to capture the semantic
layer that a Rust API puts on top of a C API in order to derive a safe API.

This also has been my experience in other LLM contexts; the most significant
improvements I saw in output quality have been by providing more semantic
context for the abstraction design.

Probably easy to look up, but does Sashiko consider cover letters already?

> Does it produce more false positives or worse in finding actual bugs in
> comparison to the c code?

I'd say both, and I think the reason is probably the same for both. But to be
fair, this is probably also biased by the class of changes I deal with on the C
and on the Rust side too.

It is also fair to say that in Rust we (almost) don't have whole classes of bugs
that we have on the C side; and the class of memory safety issues makes a huge
proportion of bugs on the C side.

If the model is particularly good at finding memory safety issues (and I think
it is), it of course also messes with the statistics of false positives
comparing C with Rust.

> I personally think that it’s always better to cc some mailing list and/or
> maintainers, so there is a second pair of eyes. I totally agree that replying
> just to the author is less effective.  Of course, we can add the text you’re
> proposing, but why not simply configure sashiko to cc the mailing list?

I'm not sure it addresses much of this concern, as I prefer to keep everyone the
patch (series) has been sent to explicitly in the loop.

Of course everyone has a different workflow, but I think it is fair to assume
that most people who are addressed directly follow along through their inbox and
not through the mailing list.

So, I think the real alternative is "reply all", which for multiple reasons I'm
not convinced is the right general call to make yet.

(I do consider it for one of the components I maintain though.)

Thanks,
Danilo

  reply	other threads:[~2026-05-19 12:23 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-16  8:05 Stop false review statements Krzysztof Kozlowski
2026-05-16 12:11 ` Guenter Roeck
2026-05-16 12:16   ` Krzysztof Kozlowski
2026-05-16 12:23     ` Guenter Roeck
2026-05-16 12:29       ` Krzysztof Kozlowski
2026-05-16 13:24         ` Laurent Pinchart
2026-05-16 13:45           ` Krzysztof Kozlowski
2026-05-16 21:10           ` Mauro Carvalho Chehab
2026-05-17 15:21       ` Jonathan Corbet
2026-05-18  8:22         ` Jani Nikula
2026-05-16 15:20   ` Konstantin Ryabitsev
2026-05-16 15:36     ` Greg KH
2026-05-16 15:41     ` Roman Gushchin
2026-05-16 15:45       ` Greg KH
2026-05-16 15:49         ` Roman Gushchin
2026-05-16 18:28           ` Arnaldo Carvalho de Melo
2026-05-16 21:29             ` Derek Barbosa
2026-05-16 21:33               ` Krzysztof Kozlowski
2026-05-16 21:59                 ` Roman Gushchin
2026-05-17  8:25                   ` Krzysztof Kozlowski
2026-05-17 10:05                   ` Mauro Carvalho Chehab
2026-05-17 10:10                     ` Willy Tarreau
2026-05-17 10:12                     ` Greg KH
2026-05-17 16:29                       ` Theodore Tso
2026-05-17 22:22                         ` Laurent Pinchart
2026-05-17 16:39                       ` Mauro Carvalho Chehab
2026-05-17 17:03                         ` Guenter Roeck
2026-05-17 18:17                         ` Roman Gushchin
2026-05-17 18:56                           ` Mauro Carvalho Chehab
2026-05-18  5:31                             ` Greg KH
2026-05-17 18:57                           ` Theodore Tso
2026-05-17 19:36                             ` Mauro Carvalho Chehab
2026-05-18  8:04                   ` Jani Nikula
2026-05-18  8:12                     ` Krzysztof Kozlowski
2026-05-18 12:16                     ` Theodore Tso
2026-05-18 12:54                       ` Geert Uytterhoeven
2026-05-18 19:40                       ` Mauro Carvalho Chehab
2026-05-16 18:28           ` Krzysztof Kozlowski
2026-05-16 18:56             ` Roman Gushchin
2026-05-16 19:00               ` Krzysztof Kozlowski
2026-05-16 19:13                 ` Guenter Roeck
2026-05-16 19:25                   ` Guenter Roeck
2026-05-16 19:31                     ` Roman Gushchin
2026-05-16 19:15                 ` Roman Gushchin
2026-05-16 20:41                   ` Theodore Tso
2026-05-17 15:56                   ` Danilo Krummrich
2026-05-17 21:25                     ` Danilo Krummrich
2026-05-18 17:19                     ` Roman Gushchin
2026-05-19 12:23                       ` Danilo Krummrich [this message]
2026-05-18  2:12           ` SeongJae Park
2026-05-16 22:32         ` Mauro Carvalho Chehab
  -- strict thread matches above, loose matches on Subject: below --
2026-05-17 19:42 Roman Gushchin
2026-05-17 22:05 ` Mauro Carvalho Chehab
2026-05-17 19:53 Roman Gushchin

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=DIMNF65K9U66.1Q89HNYSQ0ZXB@kernel.org \
    --to=dakr@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kfree@google.com \
    --cc=krzk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mricon@kernel.org \
    --cc=ojeda@kernel.org \
    --cc=roman.gushchin@linux.dev \
    --cc=sashiko-bot@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=sashiko@lists.linux.dev \
    --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