Re: [PATCH 1/7] rust: sync: add `Arc` for ref-counted allocations

From: Miguel Ojeda
Date: Mon Jan 16 2023 - 18:35:49 EST


On Wed, Dec 28, 2022 at 7:04 AM Wedson Almeida Filho <wedsonaf@xxxxxxxxx> wrote:
>
> This is a basic implementation of `Arc` backed by C's `refcount_t`. It
> allows Rust code to idiomatically allocate memory that is ref-counted.
>
> Cc: Will Deacon <will@xxxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Boqun Feng <boqun.feng@xxxxxxxxx>
> Cc: Mark Rutland <mark.rutland@xxxxxxx>
> Signed-off-by: Wedson Almeida Filho <wedsonaf@xxxxxxxxx>

Series applied to rust-next, thanks all!

Cheers,
Miguel