Skip to content

rust: sync: Atomic pointer

Boqun Feng lkml rcu rust-for-linux 2 versions – Applied

Status from this message: Queued for v7.1, thanks you all!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v15 patches 14 repliesSuperseded

Changes in v2 from the cover letter

* Add a clarification patch of CONFIG_ARCH_SUPPORTS_ATOMIC_RMW as suggested by Dirk and Benno.

* Add support for Atomic<*const T>.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2rust: sync: atomic: Clarify the need of CONFIG_ARCH_SUPPORTS_ATOMIC_RMWrust/kernel/sync/atomic/internal.rs+13 -63 replies
2/2rust: sync: atomic: Add Atomic<*{mut,const} T> supportrust/helpers/atomic_ext.c rust/kernel/sync/atomic.rs rust/kernel/sync/atomic/internal.rs +1 more+75 -100 replies

Reviews trailers per patch

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

PatchGary GuoFUJITA Tomonori
1/2R-b
2/2R-b R-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: Atomic pointer

I've already queued the first 3 patches in v1, but comments on them are welcome as well. The RCU pointer patch is not included in this v2 since there is not much update and I'm still hoping to get some reviews on that for another respin.

Changes since v1:

* Add a clarification patch of CONFIG_ARCH_SUPPORTS_ATOMIC_RMW as suggested by Dirk and Benno.

* Add support for Atomic<*const T>.

v1: https://lore.kernel.org/rust-for-linux/[email protected]/

Regards,
Boqun

Boqun Feng (2):
rust: sync: atomic: Clarify the need of
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW
rust: sync: atomic: Add Atomic<*{mut,const} T> support

 rust/helpers/atomic_ext.c            |  3 ++
 rust/kernel/sync/atomic.rs           | 12 +++++++-
 rust/kernel/sync/atomic/internal.rs  | 37 ++++++++++++++--------
 rust/kernel/sync/atomic/predefine.rs | 46 ++++++++++++++++++++++++++++
 4 files changed, 85 insertions(+), 13 deletions(-)
Signature · 1 line
2.51.0