Skip to content

Rust: Add cpumask abstractions

Viresh Kumar lkml rust-for-linux 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 10 repliesIn review
  2. v32 patches 2 repliesSuperseded
  3. v22 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches15 repliesSuperseded

Changes in v4 from the cover letter

- Create separate entry for cpumask in MAINTAINERS.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rust: Add initial cpumask abstractionsrust/kernel/cpumask.rs rust/kernel/lib.rs+302 -05 replies
2/2MAINTAINERS: Add entry for Rust bitmap APIMAINTAINERS+6 -05 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchYury Norov
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH V4 0/2] Rust: Add cpumask abstractions

Hello,

This series adds initial cpumask Rust abstractions and adds a new maintenance entry for the same.

V3->V4:
- Create separate entry for cpumask in MAINTAINERS.

V2->V3:
- Improved comments, SAFETY, Invariants, and INVARIANT blocks.
- Add examples.
- Inline few methods.

V1->V2:
- Add Yury's Reviewed-by tag in 2/2.

- Implemented two different structures, Cpumask (corresponds to struct cpumask) and CpumaskBox (corresponds to cpumask_var_t). Thanks Alice for helping out.

--
Viresh

Viresh Kumar (2):
rust: Add initial cpumask abstractions
MAINTAINERS: Add entry for Rust bitmap API

 MAINTAINERS            |   6 +
 rust/kernel/cpumask.rs | 301 +++++++++++++++++++++++++++++++++++++++++
 rust/kernel/lib.rs     |   1 +
 3 files changed, 308 insertions(+)
 create mode 100644 rust/kernel/cpumask.rs
Signature · 1 line
2.31.1.272.g89b43f80a514