Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030304AbVLMWcJ (ORCPT ); Tue, 13 Dec 2005 17:32:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030302AbVLMWcI (ORCPT ); Tue, 13 Dec 2005 17:32:08 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:28140 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S1030300AbVLMWcH (ORCPT ); Tue, 13 Dec 2005 17:32:07 -0500 Date: Tue, 13 Dec 2005 14:31:47 -0800 From: Paul Jackson To: David Howells Cc: mingo@elte.hu, hch@infradead.org, akpm@osdl.org, dhowells@redhat.com, torvalds@osdl.org, arjan@infradead.org, matthew@wil.cx, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation Message-Id: <20051213143147.d2a57fb3.pj@sgi.com> In-Reply-To: <6281.1134498864@warthog.cambridge.redhat.com> References: <20051213094053.33284360.pj@sgi.com> <20051212161944.3185a3f9.akpm@osdl.org> <20051213075441.GB6765@elte.hu> <20051213090219.GA27857@infradead.org> <20051213093949.GC26097@elte.hu> <20051213100015.GA32194@elte.hu> <6281.1134498864@warthog.cambridge.redhat.com> Organization: SGI X-Mailer: Sylpheed version 2.1.7 (GTK+ 2.4.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1113 Lines: 24 > I'd be especially impressed if you can get it to also analyse the context in > which the semaphore is used and determine whether or not it should be a > counting semaphore, a mutex or a completion That would impress me too, if I could do that. I think that is well beyond my humble capabilities. The sed/perl script to make the textual change should be practical. Indeed, I would claim that the initial big patch -should- be done that way. Keep refining a sed script until manual inspection and trial builds of all arch's, allconfig, show that it seems to be right. Each time you find an error doing this, don't manually edit the kernel source; rather refine the script and try applying it again. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/