[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260203180236.13323563@nimda>
Date: Tue, 3 Feb 2026 18:02:36 +0300
From: Onur Özkan <work@...rozkan.dev>
To: Daniel Almeida <daniel.almeida@...labora.com>
Cc: rust-for-linux@...r.kernel.org, lossin@...nel.org, lyude@...hat.com,
ojeda@...nel.org, alex.gaynor@...il.com, boqun.feng@...il.com,
gary@...yguo.net, a.hindborg@...nel.org, aliceryhl@...gle.com,
tmgross@...ch.edu, dakr@...nel.org, peterz@...radead.org, mingo@...hat.com,
will@...nel.org, longman@...hat.com, felipe_life@...e.com,
daniel@...lak.dev, thomas.hellstrom@...ux.intel.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v10 1/7] rust: add C wrappers for ww_mutex inline
functions
On Tue, 3 Feb 2026 10:45:12 -0300
Daniel Almeida <daniel.almeida@...labora.com> wrote:
> Hi Onur,
>
> Sorry for the delay, I’m finally getting back to this series.
>
No worries, thanks for looking on this.
>
> > On 3 Jan 2026, at 04:35, Onur Özkan <work@...rozkan.dev> wrote:
> >
> > Some of the kernel's `ww_mutex` functions are implemented as
> > `static inline`, so they are inaccessible from Rust as bindgen
> > can't generate code on them. This patch provides C function wrappers
> > around these inline implementations, so bindgen can see them and
> > generate the corresponding Rust code.
> >
> > Signed-off-by: Onur Özkan <work@...rozkan.dev>
>
> My comment remains the same as v8 [0]: did you forget to pick up
> tags? There’s an r-b here in v7 [1].
>
> Or perhaps I’m missing something?
>
I didn't forget, the patch in this file is changed since that (see
__rust_helper prefixes).
Regards,
Onur
> — Daniel
>
> [0]:
> https://lore.kernel.org/rust-for-linux/2F879792-3C12-4C8F-8EF1-122F44EF2B19@collabora.com/
> [1]:
> https://lore.kernel.org/rust-for-linux/34A2E775-A47E-4D4E-A292-E12489F07987@collabora.com/
>
>
Powered by blists - more mailing lists