News: 0001505113

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux 6.13 Rust Support Allowing For In-Place Modules

([Linux Kernel] 5 Hours Ago Rust InPlaceModule)


Set to be merged during the upcoming [1]Linux 6.13 merge window is support with the Rust programming language infrastructure for allowing in-place kernel modules.

This addition by Rust Linux engineer Wedson Almeida Filho of Microsoft allows for "InPlaceModule" as a means of initializing Rust modules in-place with pinned memory.

This Rust in-place module support is for in turn allowing pinned types to be used within the Rust kernel modules without any extra allocations. This Rust InPlaceModule support is important for features like mutexes, spinlocks, driver registrations, and similar functionality.

This Rust InPlaceModule support is part of a larger patch series working through various device driver, PCI driver, and platform abstractions needed by forthcoming Rust kernel drivers such as the open-source NVIDIA "Nova" driver project out of Red Hat, among others.

Those wishing to learn more about the Rust in-place module support for the Linux kernel can see [2]this patch queued up within Greg Kroah Hartman's char-misc.git char-misc-next branch ahead of the upcoming Linux 6.13 merge window.



[1] https://www.phoronix.com/search/Linux+6.13

[2] https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/commit/?h=char-misc-next&id=7f15c46a57c31956591f85b713d7e63cccb25556



phoronix

Meekness: Uncommon patience in planning a revenge that is worth while.
-- Ambrose Bierce