Re: [PATCH 1/3] rust: rcu: add RcuBox type
From: Boqun Feng
Date: Fri Jun 05 2026 - 09:41:00 EST
On Fri, Jun 05, 2026 at 06:35:37AM -0700, Boqun Feng wrote:
> From: Alice Ryhl <aliceryhl@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> [boqun: Make RcuBox generic over Allocator and add tests]
> [boqun: Add type alias for Rcu*Box]
> Co-developed-by: Boqun Feng <boqun@xxxxxxxxxx>
> Signed-off-by: Boqun Feng <boqun@xxxxxxxxxx>
> ---
Please ignore this duplication...
Regards,
Boqun