Re: [PATCH 0/3] Remove the usage of Rust native atomics in debugfs
From: Alice Ryhl
Date: Wed Oct 22 2025 - 04:27:24 EST
On Wed, Oct 22, 2025 at 10:07:17AM +0200, Peter Zijlstra wrote:
> On Tue, Oct 21, 2025 at 11:53:21PM -0400, Boqun Feng 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.
>
> Doesn't rust have a language feature that allows you to blacklist them;
> ensuring they are not used?
I believe clippy lets you do that.
Alice