On Tue, Jul 22, 2025 at 09:32:40PM -0700, Boqun Feng wrote: [...] > > +/// A registration of an IRQ handler for a given IRQ line. > > +/// > > +/// # Examples > > +/// > > +/// The following is an example of using `Registration`. It uses a > > +/// [`AtomicU32`](core::sync::AtomicU32) to provide the interior mutability. > > We are going to remove all usage of core::sync::Atomic* when the LKMM > atomics [1] land. You can probably use `Completion` here (handler does > complete_all(), and registration uses wait_for_completion()) because > `Completion` is irq-safe. And this brings my next comment.. > Missed the link: [1]: https://lore.kernel.org/rust-for-linux/20250719030827.61357-1-boqun.feng@xxxxxxxxx/ Regards, Boqun [..]