rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/2] Rust: Add cpumask abstractions
@ 2025-04-02  5:38 Viresh Kumar
  2025-04-02  5:38 ` [PATCH V4 1/2] rust: Add initial " Viresh Kumar
  2025-04-02  5:38 ` [PATCH V4 2/2] MAINTAINERS: Add entry for Rust bitmap API Viresh Kumar
  0 siblings, 2 replies; 13+ messages in thread
From: Viresh Kumar @ 2025-04-02  5:38 UTC (permalink / raw)
  To: Yury Norov, Rasmus Villemoes, Alex Gaynor, Alice Ryhl,
	Andreas Hindborg, Benno Lossin, Björn Roy Baron, Boqun Feng,
	Gary Guo, Miguel Ojeda, Trevor Gross, Viresh Kumar
  Cc: linux-kernel, Danilo Krummrich, rust-for-linux, Vincent Guittot,
	Burak Emir

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

-- 
2.31.1.272.g89b43f80a514


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-04-11  7:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-02  5:38 [PATCH V4 0/2] Rust: Add cpumask abstractions Viresh Kumar
2025-04-02  5:38 ` [PATCH V4 1/2] rust: Add initial " Viresh Kumar
2025-04-02 15:47   ` Yury Norov
2025-04-02 16:00     ` Burak Emir
2025-04-11  7:09       ` Viresh Kumar
2025-04-11  7:53         ` Burak Emir
2025-04-03 10:41     ` Viresh Kumar
2025-04-02  5:38 ` [PATCH V4 2/2] MAINTAINERS: Add entry for Rust bitmap API Viresh Kumar
2025-04-02 11:39   ` Miguel Ojeda
2025-04-02 15:01     ` Yury Norov
2025-04-02 15:38       ` Miguel Ojeda
2025-04-03  7:57       ` Viresh Kumar
2025-04-02 14:56   ` Yury Norov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).