[PATCH 1/3] rust: rcu: add RcuBox type

Boqun Feng boqun at kernel.org
Fri Jun 5 06:38:04 PDT 2026


On Fri, Jun 05, 2026 at 06:35:37AM -0700, Boqun Feng wrote:
> From: Alice Ryhl <aliceryhl at google.com>
> 
> This adds an RcuBox container, which is like Box except that the value
> is freed after waiting for one grace period (via {kvfree_,}call_rcu()).
> 
> To allow containers to rely on the RCU properties of RcuBox, an
> extension of ForeignOwnable is added.
> 
> Signed-off-by: Alice Ryhl <aliceryhl at google.com>
> [boqun: Make RcuBox generic over Allocator and add tests]
> [boqun: Add type alias for Rcu*Box]
> Co-developed-by: Boqun Feng <boqun at kernel.org>
> Signed-off-by: Boqun Feng <boqun at kernel.org>
> ---

Please ignore this duplication...

Regards,
Boqun



More information about the maple-tree mailing list