Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759316AbYFLLVa (ORCPT ); Thu, 12 Jun 2008 07:21:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753909AbYFLLVS (ORCPT ); Thu, 12 Jun 2008 07:21:18 -0400 Received: from smtp105.mail.mud.yahoo.com ([209.191.85.215]:22463 "HELO smtp105.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751993AbYFLLVR (ORCPT ); Thu, 12 Jun 2008 07:21:17 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=YMicHSjc5140s7SH/6TFRadapt8fD9PRqByv9ovgDmLFQnVRRdgSNMznhFikxd+SFH6HxQFCytAg4EUTNJbM8eKU5G1ly9LRyEsVCADkMwlMfgK98sp3+5gg1Ffw4hEWvZy9q4Fs/ndVicwqRXH+r7oCesfD4SBeL+UuTYPVfks= ; X-YMail-OSG: sR0n8xAVM1nZDSirunElT4IXLJjtjV4EPfOLgRqdM5WEXLtt.mbsUirxCtFhQ5U759BXQHlfWws262gWYMJ7W7KlaBHIMGMadzxMZV.c8mvhNJDo91Wq69ZEO1wfiuh2PbA- X-Yahoo-Newman-Property: ymail-3 From: Nick Piggin To: Martin Peschke Subject: Re: [patch 04/41] cpu ops: Core piece for generic atomic per cpu operations Date: Thu, 12 Jun 2008 21:21:09 +1000 User-Agent: KMail/1.9.5 Cc: Rusty Russell , Christoph Lameter , Andrew Morton , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, David Miller , Eric Dumazet , Peter Zijlstra , Mike Travis References: <20080530035620.587204923@sgi.com> <200806121340.29366.nickpiggin@yahoo.com.au> <1213263470.25502.6.camel@kitka.ibm.com> In-Reply-To: <1213263470.25502.6.camel@kitka.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806122121.09835.nickpiggin@yahoo.com.au> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1254 Lines: 27 On Thursday 12 June 2008 19:37, Martin Peschke wrote: > On Thu, 2008-06-12 at 13:40 +1000, Nick Piggin wrote: > > On Thursday 12 June 2008 12:44, Rusty Russell wrote: > > > Per-cpu seems to be particularly prone to over-engineering: see commit > > > 7ff6f08295d90ab20d25200ef485ebb45b1b8d71 from almost two years ago. > > > Grepping here reveals that this infrastructure is still not used. > > > > Hmm. Something like that needs the question asked "who uses this?" > > before it is merged I guess. If it were a trivial patch maybe not, > > but something like this that sits untested for so long is almost > > broken by definition ;) > > Some code of mine which didn't make it beyond -mm used this small > per-cpu extension. So the commit you refer to was tested. Right, but it can easily rot after initial testing if it isn't continually used. Maybe this isn't the best example because maybe it still works fine. But in general, unused, non-trivial code isn't good just to leave around "just in case" IMO. -- 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/