lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250719193339.090eca3d@nimda.home>
Date: Sat, 19 Jul 2025 19:33:39 +0300
From: Onur <work@...rozkan.dev>
To: Boqun Feng <boqun.feng@...il.com>
Cc: Andreas Hindborg <a.hindborg@...nel.org>, jens.korinth@...a.io, Jens
 Korinth via B4 Relay <devnull+jens.korinth.tuta.io@...nel.org>, Miguel
 Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>, Gary Guo
 <gary@...yguo.net>, Björn Roy Baron
 <bjorn3_gh@...tonmail.com>, Benno Lossin <lossin@...nel.org>, Alice Ryhl
 <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>, Rust For Linux
 <rust-for-linux@...r.kernel.org>, FUJITA Tomonori
 <fujita.tomonori@...il.com>, Dirk Behme <dirk.behme@...il.com>, Linux
 Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v4 0/3] rust: Add pr_*_once macros134

On Fri, 18 Jul 2025 20:33:21 -0700
Boqun Feng <boqun.feng@...il.com> 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@mail.gmail.com/
> 


These are excellent sources for digging into the details.
Thanks a lot! :)

Regards,
Onur

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ