Re: [PATCH v5 17/18] rust: sync: Add SpinLockIrq
From: Peter Zijlstra
Date: Mon Aug 10 2026 - 05:07:11 EST
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.