← Wednesday, October 21, 2026Performance & OSDeep dive

Kernel developers weigh rewriting XArray in Rust

lwn.net by daroc Editor score 7/10

A discussion at Kangrejos 2026 considered rewriting XArray, a data structure used by XFS, in Rust, weighing possible security and performance benefits against the risks of replacing existing code. The trade-offs matter to teams maintaining mature, widely deployed systems.

What
Kernel developers discussed whether to rewrite XArray, a data structure used under XFS, in Rust.
How
Daniel Gomez raised the idea amid difficult large-block support work and cited potential security and performance improvements; developers also voiced caution.
Why it matters
For kernel engineers, the discussion weighs possible safety and performance gains against the risks of converting a foundational data structure.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.