• [$] Using LKMM atomics in Rust

    From LWN.net@1337:1/100 to All on Wednesday, October 16, 2024 16:15:04
    [$] Using LKMM atomics in Rust

    Date:
    Wed, 16 Oct 2024 15:05:13 +0000

    Description:
    Rust, like C, has its own memory model describing how concurrent access to the same data by multiple threads can behave.
    The Linux kernel, however, has its own
    ideas. The Linux kernel memory model (LKMM) is subtly different from both the standard C memory model and Rust's model.
    At Kangrejos, Boqun Feng gave a presentation about the
    need to reconcile the memory models used by Rust and the kernel,
    including a few potential avenues for doing so. While
    no consensus was reached, it is an area of active discussion.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/993785/


    --- Mystic BBS v1.12 A47 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)