Skip to content

rust: sync: add `Arc` for ref-counted allocations

Wedson Almeida Filho lkml rust-for-linux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 42 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7rust: sync: add `Arc` for ref-counted allocationsrust/bindings/bindings_helper.h rust/bindings/lib.rs rust/helpers.c +3 more+189 -014 replies
2/7rust: sync: allow type of `self` to be `Arc<T>` or variantsrust/kernel/lib.rs rust/kernel/sync/arc.rs+29 -03 replies
3/7rust: sync: allow coercion from `Arc<T>` to `Arc<U>`rust/kernel/lib.rs rust/kernel/sync/arc.rs+28 -13 replies
4/7rust: sync: introduce `ArcBorrow`rust/kernel/sync.rs rust/kernel/sync/arc.rs+98 -19 replies
5/7rust: sync: allow type of `self` to be `ArcBorrow<T>`rust/kernel/sync/arc.rs+23 -03 replies
6/7rust: sync: introduce `UniqueArc`rust/kernel/sync.rs rust/kernel/sync/arc.rs+151 -35 replies
7/7rust: sync: add support for dispatching on Arc and ArcBorrow.rust/kernel/lib.rs rust/kernel/sync/arc.rs+19 -25 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchAlice RyhlGary GuoVincenzo PalazzoBoqun Feng
1/7R-b R-b R-b A-b
2/7R-b R-b R-b
3/7R-b R-b R-b
4/7R-b R-b R-b
5/7R-b R-b R-b
6/7R-b R-b R-b
7/7R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread