Get the latest tech news

Linux 6.18 To Allow Rust And C Code To Use The Same Memory Model


The latest tranche of Rust code ready to go for the upcoming Linux 6.18 kernel is now ready to go and has been queued into a TIP branch ahead of the merge window.

The Rust atomic changes for this next kernel version include support for the generic Linux Kernel Memory Model (LKMM) atomic variables within Rust. explains that this ensures the Rust and C sides are using the same memory model when communicating with each other. The patches for now are in the locking/core branch and barring any objections from Linus Torvalds should in turn appear in Linux 6.18.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of Linux

Linux

Photo of Rust

Rust

Photo of C code

C code

Related news:

News photo

Select Qualcomm X Elite Laptops Seeing IRIS Video Acceleration On Linux

News photo

Samsung Exynos 7870 Seeing New Open-Source Driver Activity For Linux 6.18

News photo

FLYDIGI APEX 5 Controller Support Landing In Linux 6.17