Skip to content

rust: sync: Add AtomicFlag type

FUJITA Tomonori rust-for-linux 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Drop Atomic<u8> alias; Define Flag on all architectures
- Place padding first on big endian archs
v1: https://lore.kernel.org/rust-for-linux/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rust: sync: atomic: Add perfromance-optimal Flag type for atomic booleansrust/kernel/sync/atomic.rs rust/kernel/sync/atomic/predefine.rs+142 -03 replies
2/2rust: list: Use AtomicFlag in AtomicTrackerrust/kernel/list/arc.rs+4 -40 replies

Reviews trailers per patch

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

PatchGary Guo
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] rust: sync: Add AtomicFlag type

From: FUJITA Tomonori <[email protected]>

This series adds AtomicFlag and switches the list atomic tracker to use it.

Unlike the previous design, we avoid exposing Atomic<Flag> and always use AtomicFlag.

v2:
- Drop Atomic<u8> alias; Define Flag on all architectures
- Place padding first on big endian archs
v1: https://lore.kernel.org/rust-for-linux/[email protected]/

FUJITA Tomonori (2):
rust: sync: atomic: Add perfromance-optimal Flag type for atomic
booleans
rust: list: Use AtomicFlag in AtomicTracker

 rust/kernel/list/arc.rs              |   8 +-
 rust/kernel/sync/atomic.rs           | 125 +++++++++++++++++++++++++++
 rust/kernel/sync/atomic/predefine.rs |  17 ++++
 3 files changed, 146 insertions(+), 4 deletions(-)

base-commit: 6583920e15fc567109e1c64ca58c917f52f40736

Signature · 1 line
2.43.0