Skip to content

rust: Introduce atomic API helpers

Boqun Feng lkml lkmm rust-for-linux 1 version Applied

Status from this message: The following commit has been merged into the locking/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/14rust: Introduce atomic API helpersrust/helpers/atomic.c rust/helpers/helpers.c scripts/atomic/gen-atomics.sh +1 more+1109 -01 reply
2/14rust: sync: Add basic atomic operation mapping frameworkMAINTAINERS rust/kernel/sync.rs rust/kernel/sync/atomic.rs +1 more+291 -11 reply
3/14rust: sync: atomic: Add ordering annotation typesrust/kernel/sync/atomic.rs rust/kernel/sync/atomic/ordering.rs+106 -01 reply
4/14rust: sync: atomic: Add generic atomicsrust/kernel/sync/atomic.rs rust/kernel/sync/atomic/predefine.rs+286 -01 reply
5/14rust: sync: atomic: Add atomic {cmp,}xchg operationsrust/kernel/sync/atomic.rs+167 -11 reply
6/14rust: sync: atomic: Add the framework of arithmetic operationsrust/kernel/sync/atomic.rs rust/kernel/sync/atomic/predefine.rs+106 -21 reply
7/14rust: sync: atomic: Add Atomic<u{32,64}>rust/kernel/sync/atomic/predefine.rs+95 -01 reply
8/14rust: sync: atomic: Add Atomic<{usize,isize}>rust/kernel/sync/atomic/predefine.rs+49 -41 reply
9/14rust: sync: Add memory barriersrust/helpers/barrier.c rust/helpers/helpers.c rust/kernel/sync.rs +1 more+81 -01 reply
10/14rust: implement `kernel::sync::Refcount`rust/helpers/refcount.c rust/kernel/sync.rs rust/kernel/sync/refcount.rs+110 -01 reply
11/14rust: make `Arc::into_unique_or_drop` associated functionrust/kernel/sync/arc.rs+6 -61 reply
12/14rust: convert `Arc` to use `Refcount`rust/kernel/sync/arc.rs+14 -311 reply
13/14rust: block: convert `block::mq` to use `Refcount`rust/kernel/block/mq/operations.rs rust/kernel/block/mq/request.rs rust/kernel/sync/refcount.rs+40 -551 reply
14/14MAINTAINERS: update atomic infrastructure entry to include RustMAINTAINERS+2 -01 reply

Reviews trailers per patch

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

PatchMark RutlandAlice RyhlBenno LossinAndreas HindborgBoqun FengFiona BehrensAlexandre CourbotDavid GowElle Rhumsaa
1/14Originally-by R-b R-b
2/14R-b R-b R-b
3/14R-b R-b R-b
4/14R-b R-b R-b
5/14R-b R-b R-b
6/14R-b R-b R-b
7/14R-b R-b R-b R-b
8/14R-b R-b R-b R-b
9/14R-b R-b
10/14R-b R-b R-b R-b R-b
11/14R-b R-b R-b
12/14R-b R-b R-b
13/14R-b A-b T-b R-b
14/14A-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 9 reviewers.

Read the v1 thread