Actually a PS to this while I think about it. spin_locks and mutex type locks could both do with a macro for
call_locked(&lock, foo(a,b,c,d))
to cut down on all the error path forgot to release a lock type errors.
Actually a PS to this while I think about it. spin_locks and mutex type locks could both do with a macro for
call_locked(&lock, foo(a,b,c,d))
to cut down on all the error path forgot to release a lock type errors.