Re: [RFC PATCH 0/4] rust: miscdevice: abstraction for uring-cmd
From: Sidong Yang
Date: Sun Jul 20 2025 - 12:53:05 EST
On Sun, Jul 20, 2025 at 06:41:06PM +0200, Miguel Ojeda wrote:
> On Sun, Jul 20, 2025 at 6:07 PM Sidong Yang <sidong.yang@xxxxxxxxxx> wrote:
> >
> > Although some existing kernel modules already use uring_cmd, they aren’t
> > implemented in Rust. Currently, no Rust code leverages this abstraction,
> > but it will enable anyone who wants to write kernel drivers in Rust using
> > uring_cmd.
>
> Do you have a concrete user in mind?
Sadly, there isn’t a concrete user yet. I understand that an abstraction by itself
won’t be merged without a real in-tree user.
I’ll identify a suitable kernel module to port to Rust and follow up once I have one.
Thanks,
Sidong
>
> i.e. I am asking because the kernel, in general, requires a user (in
> mainline) for code to be merged. So maintainers normally don't merge
> code unless it is clear who will use a feature upstream -- please see
> the last bullet of:
>
> https://rust-for-linux.com/contributing#submitting-new-abstractions-and-modules
>
> Thanks!
>
> Cheers,
> Miguel