Bringing Per-CPU Variables to Rust-for-Linux
Audience:
Topic:
Per-CPU variables are widely used in the Linux kernel to reduce contention of atomics and locks in large scale systems. This makes them an attractive API to use from Rust, but exposing this API requires interacting with all levels of the kernel stack: from the build system and linker all the way to arch-specific optimizations and runtime allocation of new per-CPU variables. This talk is intended for an audience that is broadly familiar with kernel primatives and synchronization issues but entirely new to Rust.
Time:
Thursday, October 31, 2024 - 11:30