Re: [PATCH] rust: revocable: use LKMM atomics instead of Rust atomics
From: Alice Ryhl
Date: Wed Jul 22 2026 - 14:17:39 EST
On Thu, Jul 16, 2026 at 4:56 PM Gary Guo <gary@xxxxxxxxxx> wrote:
>
> From: Gary Guo <gary@xxxxxxxxxxx>
>
> Kernel code should use LKMM atomics. The existing code is `AtomicBool` with
> the need to use `xchg`, so convert it to `AtomicFlag`.
>
> Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>