Re: [PATCH] rust: revocable: use LKMM atomics instead of Rust atomics
Alice Ryhl <[email protected]>
| Newsgroups | org.kernel.vger.rust-for-linux,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAH5fLghAcfJxD=F10CV6Gk20GSqbP5S_v2gy-yqWWOdi+aeHtw@mail.gmail.com> |
On Thu, Jul 16, 2026 at 4:56 PM Gary Guo <[email protected]> wrote: > > From: Gary Guo <[email protected]> > > 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 <[email protected]> Reviewed-by: Alice Ryhl <[email protected]>