On Thu, Feb 4, 2021 at 6:36 AM Peter Zijlstra <pet...@infradead.org> wrote: > > refcount_dec_and_lock() avoids that complication.
There isn't currently an interface for raw_spin_locks. Certainly could add a new interface in a separate patch as part of this series, but doesn't seem that bad to do the locking inline.