Thread (39 messages) 39 messages, 13 authors, 2026-03-31

Re: Re: [PATCH v2 0/3] Inline helpers into Rust without full LTO

From: Miguel Ojeda <hidden>
Date: 2026-03-23 13:14:23
Also in: linux-kbuild, linux-mm, linux-um, lkml, llvm, rust-for-linux

On Mon, Mar 23, 2026 at 1:55 PM Andrew Lunn [off-list ref] wrote:
The current proposed code for netlink needs this feature, because it
needs access to inline C functions. Is the implication, following a
chain of dependencies, that netlink would only build on x86_64 and
arm64?

If you want netlink on um, arm32, riscv, loongarch you would need a
different implementation of the binding?
I still don't follow -- this new mode is opt-in, and only a couple
architectures (or whoever decides to support it) would be able to
opt-in. Nothing else changes.
And a completely different question. Are there other work in progress
solutions to allow the use of inline C functions? For networking, in
particularly MAC and protocol code, anything which needs to access a
struct sk_buf, a solution to this problem will be required. Do you see
this "fairly exotic approach" as just a sort term bridge until some
other "boring approach" is ready?
This series is really just a way to increase performance, i.e. it
doesn't really change what we can do.

Cheers,
Miguel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help