Return-Path: Date: Tue, 13 Dec 2005 10:37:00 +0100 From: Ingo Molnar Subject: Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation Message-ID: <20051213093700.GB26097@elte.hu> References: <20051212161944.3185a3f9.akpm@osdl.org> <20051213075441.GB6765@elte.hu> <1134460804.2866.17.camel@laptopd505.fenrus.org> <20051213090349.GE10088@elte.hu> <20051213090917.GC15804@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051213090917.GC15804@wotan.suse.de> To: Andi Kleen Cc: Arjan van de Ven , Andrew Morton , David Howells , torvalds@osdl.org, hch@infradead.org, matthew@wil.cx, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org List-ID: * Andi Kleen wrote: > > it's not _that_ bad, if done overnight. It does not touch any of the > > down/up APIs. Touching those would create a monster patch and monster > > impact. > > One argument for a full rename (and abandoning the old "struct > semaphore" name completely) would be that it would offer a clean break > for out tree code, no silent breakage. btw., in the -rt tree we rarely had 'silent breakage' - roughly 80% of the cases were caught build-time: we eliminated DECLARE_MUTEX_LOCKED, which is a clear sign for non-mutex semaphore usage. Another 19% was caught by runtime checks: 'does owner unlock the mutex'. The remaining 1% was breakage that was not found quickly. Ingo