[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260107140115.GE3707837@noisy.programming.kicks-ass.net>
Date: Wed, 7 Jan 2026 15:01:15 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Alice Ryhl <aliceryhl@...gle.com>
Cc: Andreas Hindborg <a.hindborg@...nel.org>,
Miguel Ojeda <ojeda@...nel.org>, Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>,
Alexandre Courbot <acourbot@...dia.com>,
Will Deacon <will@...nel.org>, Mark Rutland <mark.rutland@....com>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>,
Nicolas Schier <nicolas.schier@...ux.dev>,
Andrew Morton <akpm@...ux-foundation.org>,
Uladzislau Rezki <urezki@...il.com>, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev,
linux-kbuild@...r.kernel.org, linux-mm@...ck.org,
nouveau@...ts.freedesktop.org, Matthew Maurer <mmaurer@...gle.com>
Subject: Re: [PATCH 0/4] Inline helpers into Rust without full LTO
On Wed, Jan 07, 2026 at 02:42:25PM +0100, Alice Ryhl wrote:
> With this option, helpers.bc gets linked into every Rust object file
> separately (and symbols are internalized). We might want a separate
> .bc file depending on whether the Rust object files is part of the
> core kernel or a .ko file.
Right, building it twice, once with and once with -DMODULE owuldn't be
the end of the world I suppose :-)
Also, I ran across Eurydice during the x-mas break, would it not be
possible to compile all the .rs muck to C using that and then building
the whole lot like 'normal'?
Powered by blists - more mailing lists