From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: David Howells In-Reply-To: <200512130130.05186.arnd@arndb.de> References: <200512130130.05186.arnd@arndb.de> Subject: Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation Date: Tue, 13 Dec 2005 21:03:35 +0000 Message-ID: <27928.1134507815@warthog.cambridge.redhat.com> Sender: dhowells@redhat.com To: Arnd Bergmann Cc: David Howells , 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: Arnd Bergmann wrote: > I can't see how your code actually detects the over-upping, although it's > fairly obvious how it would be done. Did you miss one patch for this? If owner is NULL, then you've probably upped twice. David