~/talk

Moving kernel swapping infrastructure to Rust

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13· [rust]
links:none on file
slides:none on file

Rust implementation shows equal or slightly better performance than the C version on kernel builds, and a complete Rust allocator prototype called ZBlock replaces many ZSMalloc size classes and removes spillover, improving 4K and 16K+ pages performance in tests. A Rust reimplementation of ZRAM in Rust exists as a toy prototype with patches under submission and depends on a few back-end changes; streaming compression for large GPU buffer objects reduces thousands of page handles to a single handle, and driver surface code aims to avoid unsafe.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:36Why move swapping to Rust
  3. 6:11ZRAM and ZS Malik overview
  4. 12:17ZBlock performance and advantages
  5. 15:49Summary and current status
  6. 16:10Reimplementing ZRAM in Rust
  7. 19:28SHM swapping and streaming compression
  8. 25:12Q&A and discussion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.