The kernel radar: folios, multi-generational LRU, and Rust
The kernel radar: folios, multi-generational LRU, and Rust
Posted Jan 21, 2022 18:10 UTC (Fri) by pbonzini (subscriber, #60935)In reply to: The kernel radar: folios, multi-generational LRU, and Rust by walters
Parent article: The kernel radar: folios, multi-generational LRU, and Rust
Sure, I only said it doesn't support them "very well". If you check https://docs.rs/intrusive-collections/0.9.3/intrusive_col..., having the same object in many lists (which is a major advantage of intrusive collections) requires reference counting.
This is enough of a disadvantage that the same crate includes an unsafe primitive to avoid this (https://docs.rs/intrusive-collections/0.9.3/intrusive_col...).
