Re: [PATCH v5 17/18] rust: sync: Add SpinLockIrq
Peter Zijlstra <[email protected]>
| Newsgroups | org.kernel.vger.rust-for-linux,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 07, 2026 at 12:02:14AM -0700, Boqun Feng wrote:
> -pub use lock::spinlock::{new_spinlock, SpinLock, SpinLockGuard};
> +pub use lock::spinlock::{
> + new_spinlock,
> + new_spinlock_irq,
> + SpinLock,
> + SpinLockGuard,
> + SpinLockIrq,
> + SpinLockIrqGuard, //
> +};
What's this new_spinlock* stuff about? It has sensible naming; unlike
that CameCase nonsense the rest has.