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(-)

-- 
2.51.0


Reply via email to