On Tue, Jan 20, 2026 at 10:05:01PM +0800, Boqun Feng wrote:
> 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]/
>
Queued for v7.1, thanks you all!
Regards,
Boqun
> 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
>