Re: [PATCH v4 0/3] rust: Add pr_*_once macros134
From: Onur
Date: Sat Jul 19 2025 - 12:41:35 EST
On Fri, 18 Jul 2025 20:33:21 -0700
Boqun Feng <boqun.feng@xxxxxxxxx> wrote:
> >
> > I have reviewed the patch series from start to finish. I am not
> > using or depending the patch actively but I can send v5 sometime
> > soon (I will have some space next week) if you would like.
> >
>
> Note that you need to use LKMM atomics [1], and you should really use
> a 32bit atomic at the beginning. Thanks!
>
> There are a few explanations on why we want to avoid use Rust native
> atomics:
>
> https://lwn.net/Articles/993785/
> https://lore.kernel.org/rust-for-linux/CAHk-=whkQk=zq5XiMcaU3xj4v69+jyoP-y6Sywhq-TvxSSvfEA@xxxxxxxxxxxxxx/
>
These are excellent sources for digging into the details.
Thanks a lot! :)
Regards,
Onur