[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABVgOSnzoX3-keJvaOUEiQTfdRkdfahi8Ucj5P=yc187Lc=uCg@mail.gmail.com>
Date: Fri, 24 Oct 2025 13:49:32 +0800
From: David Gow <davidgow@...gle.com>
To: Boqun Feng <boqun.feng@...il.com>
Cc: rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>, "Rafael J. Wysocki" <rafael@...nel.org>,
Danilo Krummrich <dakr@...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>, Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>, Will Deacon <will@...nel.org>,
Peter Zijlstra <peterz@...radead.org>, Mark Rutland <mark.rutland@....com>,
Matthew Maurer <mmaurer@...gle.com>
Subject: Re: [PATCH 0/3] Remove the usage of Rust native atomics in debugfs
On Wed, 22 Oct 2025 at 11:53, Boqun Feng <boqun.feng@...il.com> wrote:
>
> Rust native atomics are not supposed to be used in kernel due to the
> mismatch of memory model, since we now have the LKMM atomics in Rust,
> remove the usage of Rust native atomics in debugfs.
>
> (help is appreciated if anyone wants to help in other subsystem)
>
Thanks very much, Boqun. I can confirm this fixes the build issues
(and seems to work) on 32-bit x86 (both UML, and -- with some
-Zregparm patches -- otherwise).
Tested-by: David Gow <davidgow@...gle.com>
Cheers,
-- David
Download attachment "smime.p7s" of type "application/pkcs7-signature" (5281 bytes)
Powered by blists - more mailing lists