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

From: Alan Cox
Date: Tue Dec 13 2005 - 08:14:42 EST


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/