From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation From: Alan Cox In-Reply-To: <1134479118.11732.14.camel@localhost.localdomain> References: <1134479118.11732.14.camel@localhost.localdomain> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 13 Dec 2005 13:15:13 +0000 Message-Id: <1134479713.11732.25.camel@localhost.localdomain> Mime-Version: 1.0 To: David Howells Cc: torvalds@osdl.org, akpm@osdl.org, hch@infradead.org, arjan@infradead.org, matthew@wil.cx, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org List-ID: 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.