Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation

Alan Cox
2005-12-13T13:15:13Z

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.