[PATCH v1] rust: arch/um: Fix loading Rust modules
FUJITA Tomonori
tomo at flapping.org
Wed Nov 4 17:09:42 PST 2026
On Tue, 03 Nov 2026 10:39:11 +0100
Johannes Berg <johannes at sipsolutions.net> wrote:
> On Tue, 2026-11-03 at 18:02 +0900, FUJITA Tomonori wrote:
[...]
>> Gentle ping. The patch still applies cleanly on top of v7.4-rc1. If
>> it looks fine, could you take it through the UML tree?
>
> I guess I figured with the "rust:" prefix it'd go through their tree,
> but either way during the merge window and all I wasn't really paying
> attention to UML.
>
> I'll pick it up now.
Thanks!
As the commit message says, Rust modules still fail to load with a
larger mem=, because Rust code uses the small code model. Zigit Zo
posted a fix for this in 2024 [1]. It is the same change as the one I
would send:
KBUILD_RUSTFLAGS += -Ccode-model=large
It was not merged. Was it because the patch has no Signed-off-by?
[1] https://lore.kernel.org/rust-for-linux/54FC087D02C52990+20240903130606.292935-3-zig@iorw.io/
More information about the linux-um
mailing list