[WIP 1/3] rust: Introduce atomic module

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Sat Mar 23 12:09:57 PDT 2024


On Sat, Mar 23, 2024 at 3:10 PM Andrew Lunn <andrew at lunn.ch> wrote:
>
> Just looking down the road a bit, are there other features in the
> standard library which are not applicable to Linux kernel space?
> Ideally we want a solution not just for atomics but a generic solution
> which can disable a collection of features? Maybe one by one?

We requested a few of these in the past for both `core` [1] and
`alloc` [2], and we got some which we use (see the `cfg(no_*)`s). It
is what we called "modularization of `core`" too.

[1] https://github.com/Rust-for-Linux/linux/issues/514
[2] https://github.com/Rust-for-Linux/linux/issues/408

Cheers,
Miguel



More information about the linux-arm-kernel mailing list