The kernel radar: folios, multi-generational LRU, and Rust
The kernel radar: folios, multi-generational LRU, and Rust
Posted Jan 21, 2022 12:45 UTC (Fri) by pbonzini (subscriber, #60935)In reply to: The kernel radar: folios, multi-generational LRU, and Rust by ldearquer
Parent article: The kernel radar: folios, multi-generational LRU, and Rust
I'll add that Rust in general does not support intrusive data structures very well, because it is not very much friend with data that can be reached in different ways. You would have to wrap it with a reference count (Rc or Arc) and with either run-time borrow checking or a mutex (respectively RefCell and Mutex).
