* Sashiko.dev for Rust for Linux
@ 2026-03-20 19:40 John Hubbard
2026-03-20 20:24 ` Roman Gushchin
2026-03-21 20:28 ` Danilo Krummrich
0 siblings, 2 replies; 6+ messages in thread
From: John Hubbard @ 2026-03-20 19:40 UTC (permalink / raw)
To: Roman Gushchin, Miguel Ojeda
Cc: rust-for-linux@vger.kernel.org, Alexandre Courbot, Zi Yan,
Andrew Morton, Jason Gunthorpe, Leon Romanovsky,
linux-mm@kvack.org
Hi Roman, Miguel,
I was delighted with sashiko.dev after just a very quick peek at a
few of its linux-mm reviews. Up until now, the AI code reviewers
have often fixated on trivia, but this one goes right to real
issues that actually matter. Sweeeet!
So what would it take to get similar results for Rust for Linux?
(A bunch of us are working on drivers/gpu/nova-core and
drivers/gpu/drm/nova, which are written in Rust.)
I'm guessing a combination of "add rust-for-linux to the list
of mailing lists", and a whole bunch of new Rules/Skills?
thanks,
--
John Hubbard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Sashiko.dev for Rust for Linux
2026-03-20 19:40 Sashiko.dev for Rust for Linux John Hubbard
@ 2026-03-20 20:24 ` Roman Gushchin
2026-03-20 20:32 ` Gary Guo
2026-03-21 13:33 ` Miguel Ojeda
2026-03-21 20:28 ` Danilo Krummrich
1 sibling, 2 replies; 6+ messages in thread
From: Roman Gushchin @ 2026-03-20 20:24 UTC (permalink / raw)
To: John Hubbard
Cc: Miguel Ojeda, rust-for-linux@vger.kernel.org, Alexandre Courbot,
Zi Yan, Andrew Morton, Jason Gunthorpe, Leon Romanovsky,
linux-mm@kvack.org
John Hubbard <jhubbard@nvidia.com> writes:
> Hi Roman, Miguel,
Hi John!
> I was delighted with sashiko.dev after just a very quick peek at a
> few of its linux-mm reviews. Up until now, the AI code reviewers
> have often fixated on trivia, but this one goes right to real
> issues that actually matter. Sweeeet!
Thank you!
> So what would it take to get similar results for Rust for Linux?
> (A bunch of us are working on drivers/gpu/nova-core and
> drivers/gpu/drm/nova, which are written in Rust.)
>
> I'm guessing a combination of "add rust-for-linux to the list
> of mailing lists", and a whole bunch of new Rules/Skills?
Yes, I'm going to add rust-for-linux (will appear ~tomorrow), but a
bunch of patchsets which cc'ed lkml have already been reviewed, please,
take a look.
We don't need any rules/skills to get *some* reviews, but we certainly
might need some prompts to get *better* reviews, both in terms of bug
discovery and false positives. If you'll master something, I'm more than
happy to give it a try.
Thanks,
Roman
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Sashiko.dev for Rust for Linux
2026-03-20 20:24 ` Roman Gushchin
@ 2026-03-20 20:32 ` Gary Guo
2026-03-20 21:09 ` Roman Gushchin
2026-03-21 13:33 ` Miguel Ojeda
1 sibling, 1 reply; 6+ messages in thread
From: Gary Guo @ 2026-03-20 20:32 UTC (permalink / raw)
To: Roman Gushchin, John Hubbard
Cc: Miguel Ojeda, rust-for-linux@vger.kernel.org, Alexandre Courbot,
Zi Yan, Andrew Morton, Jason Gunthorpe, Leon Romanovsky,
linux-mm@kvack.org
On Fri Mar 20, 2026 at 8:24 PM GMT, Roman Gushchin wrote:
> John Hubbard <jhubbard@nvidia.com> writes:
>
>> Hi Roman, Miguel,
>
> Hi John!
>
>> I was delighted with sashiko.dev after just a very quick peek at a
>> few of its linux-mm reviews. Up until now, the AI code reviewers
>> have often fixated on trivia, but this one goes right to real
>> issues that actually matter. Sweeeet!
>
> Thank you!
>
>> So what would it take to get similar results for Rust for Linux?
>> (A bunch of us are working on drivers/gpu/nova-core and
>> drivers/gpu/drm/nova, which are written in Rust.)
>>
>> I'm guessing a combination of "add rust-for-linux to the list
>> of mailing lists", and a whole bunch of new Rules/Skills?
>
> Yes, I'm going to add rust-for-linux (will appear ~tomorrow), but a
> bunch of patchsets which cc'ed lkml have already been reviewed, please,
> take a look.
>
> We don't need any rules/skills to get *some* reviews, but we certainly
> might need some prompts to get *better* reviews, both in terms of bug
> discovery and false positives. If you'll master something, I'm more than
> happy to give it a try.
>
> Thanks,
> Roman
Hi Roman,
First of all, great work. It has already produced useful review on my patchsets.
I've seen a few false positives on Sashiko which seems to be that it understands
the Rust code from an userspace Rust perspective and doesn't know some of our
unique constructs (most notably, the way we handling bindings/FFI).
I'm preparing some prompt changes locally and am testing these out, to see if it
reduces false positives. It appears to me that the prompt for Sashiko is from
https://github.com/masoncl/review-prompts? If I made a PR there it would
eventually land in Sashiko, too, right?
Best,
Gary
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Sashiko.dev for Rust for Linux
2026-03-20 20:32 ` Gary Guo
@ 2026-03-20 21:09 ` Roman Gushchin
0 siblings, 0 replies; 6+ messages in thread
From: Roman Gushchin @ 2026-03-20 21:09 UTC (permalink / raw)
To: Gary Guo
Cc: John Hubbard, Miguel Ojeda, rust-for-linux@vger.kernel.org,
Alexandre Courbot, Zi Yan, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm@kvack.org
"Gary Guo" <gary@garyguo.net> writes:
> On Fri Mar 20, 2026 at 8:24 PM GMT, Roman Gushchin wrote:
>> John Hubbard <jhubbard@nvidia.com> writes:
>>
>>> Hi Roman, Miguel,
>>
>> Hi John!
>>
>>> I was delighted with sashiko.dev after just a very quick peek at a
>>> few of its linux-mm reviews. Up until now, the AI code reviewers
>>> have often fixated on trivia, but this one goes right to real
>>> issues that actually matter. Sweeeet!
>>
>> Thank you!
>>
>>> So what would it take to get similar results for Rust for Linux?
>>> (A bunch of us are working on drivers/gpu/nova-core and
>>> drivers/gpu/drm/nova, which are written in Rust.)
>>>
>>> I'm guessing a combination of "add rust-for-linux to the list
>>> of mailing lists", and a whole bunch of new Rules/Skills?
>>
>> Yes, I'm going to add rust-for-linux (will appear ~tomorrow), but a
>> bunch of patchsets which cc'ed lkml have already been reviewed, please,
>> take a look.
>>
>> We don't need any rules/skills to get *some* reviews, but we certainly
>> might need some prompts to get *better* reviews, both in terms of bug
>> discovery and false positives. If you'll master something, I'm more than
>> happy to give it a try.
>>
>> Thanks,
>> Roman
>
> Hi Roman,
>
> First of all, great work. It has already produced useful review on my
> patchsets.
Thanks!
> I've seen a few false positives on Sashiko which seems to be that it understands
> the Rust code from an userspace Rust perspective and doesn't know some of our
> unique constructs (most notably, the way we handling bindings/FFI).
Yeah, I'd imagine that adding some rust-for-kernel prompts should help a lot.
>
> I'm preparing some prompt changes locally and am testing these out, to see if it
> reduces false positives. It appears to me that the prompt for Sashiko is from
> https://github.com/masoncl/review-prompts? If I made a PR there it would
> eventually land in Sashiko, too, right?
Yes, I'm using some prompts from Chris's repository, but not all of
them. We're in touch with Chris and thinking how to better share them.
As of now, anything works, send them either way, we'll figure out the
syncing part.
Thanks,
Roman
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Sashiko.dev for Rust for Linux
2026-03-20 20:24 ` Roman Gushchin
2026-03-20 20:32 ` Gary Guo
@ 2026-03-21 13:33 ` Miguel Ojeda
1 sibling, 0 replies; 6+ messages in thread
From: Miguel Ojeda @ 2026-03-21 13:33 UTC (permalink / raw)
To: Roman Gushchin
Cc: John Hubbard, Miguel Ojeda, rust-for-linux@vger.kernel.org,
Alexandre Courbot, Zi Yan, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm@kvack.org
On Fri, Mar 20, 2026 at 9:24 PM Roman Gushchin <roman.gushchin@linux.dev> wrote:
>
> Yes, I'm going to add rust-for-linux (will appear ~tomorrow), but a
> bunch of patchsets which cc'ed lkml have already been reviewed, please,
> take a look.
I see the list there:
https://sashiko.dev/#/?list=org.kernel.vger.rust-for-linux
I have just added a link to it from rust-for-linux.com (in the menu
bar, where I keep many links to resources etc.), and announced it in
our Zulip and the mailing list (I guess this thread is short enough
that could have served the purpose too).
> We don't need any rules/skills to get *some* reviews, but we certainly
> might need some prompts to get *better* reviews, both in terms of bug
> discovery and false positives. If you'll master something, I'm more than
> happy to give it a try.
Yeah, we should definitely add some context (and possibly skills like
Coccinelle for Rust to match the recently merged Coccinelle one
eventually).
I see Gary already replied -- I was going to mention that he has been
playing around with it for some days indeed!
Thanks a lot!
Cheers,
Miguel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Sashiko.dev for Rust for Linux
2026-03-20 19:40 Sashiko.dev for Rust for Linux John Hubbard
2026-03-20 20:24 ` Roman Gushchin
@ 2026-03-21 20:28 ` Danilo Krummrich
1 sibling, 0 replies; 6+ messages in thread
From: Danilo Krummrich @ 2026-03-21 20:28 UTC (permalink / raw)
To: John Hubbard
Cc: Roman Gushchin, Miguel Ojeda, rust-for-linux@vger.kernel.org,
Alexandre Courbot, Zi Yan, Andrew Morton, Jason Gunthorpe,
Leon Romanovsky, linux-mm@kvack.org
On Fri Mar 20, 2026 at 8:40 PM CET, John Hubbard wrote:
> So what would it take to get similar results for Rust for Linux?
> (A bunch of us are working on drivers/gpu/nova-core and
> drivers/gpu/drm/nova, which are written in Rust.)
Eventually, it would be great to have the nova list added as well, but let's
wait with this until we figured out the mailing list situation.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-03-21 20:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20 19:40 Sashiko.dev for Rust for Linux John Hubbard
2026-03-20 20:24 ` Roman Gushchin
2026-03-20 20:32 ` Gary Guo
2026-03-20 21:09 ` Roman Gushchin
2026-03-21 13:33 ` Miguel Ojeda
2026-03-21 20:28 ` Danilo Krummrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox