Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264485AbUA0QTc (ORCPT ); Tue, 27 Jan 2004 11:19:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264553AbUA0QT3 (ORCPT ); Tue, 27 Jan 2004 11:19:29 -0500 Received: from palrel11.hp.com ([156.153.255.246]:35810 "EHLO palrel11.hp.com") by vger.kernel.org with ESMTP id S264485AbUA0QTY (ORCPT ); Tue, 27 Jan 2004 11:19:24 -0500 From: David Mosberger MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16406.36741.510353.456578@napali.hpl.hp.com> Date: Tue, 27 Jan 2004 08:19:17 -0800 To: Paul Mackerras Cc: davidm@hpl.hp.com, Andrew Morton , Jes Sorensen , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Re: [patch] 2.6.1-mm5 compile do not use shared extable code for ia64 In-Reply-To: <16406.10170.911012.262682@cargo.ozlabs.ibm.com> References: <20040120090004.48995f2a.akpm@osdl.org> <16401.57298.175645.749468@napali.hpl.hp.com> <16402.19894.686335.695215@cargo.ozlabs.ibm.com> <16405.41953.344071.456754@napali.hpl.hp.com> <16406.10170.911012.262682@cargo.ozlabs.ibm.com> X-Mailer: VM 7.17 under Emacs 21.3.1 Reply-To: davidm@hpl.hp.com X-URL: http://www.hpl.hp.com/personal/David_Mosberger/ Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1289 Lines: 30 >>>>> On Tue, 27 Jan 2004 19:56:26 +1100, Paul Mackerras said: Paul> David Mosberger writes: >> How about the attached one? It will touch memory more when >> moving an element down, but we're talking about exception tables >> here, and I don't think module loading time would be affected in >> any noticable fashion. Paul> Hmmm... Stylistically I much prefer to pick up the new Paul> element, move the others up and just drop the new element in Paul> where it should go, rather than doing swap, swap, swap down Paul> the list. Sure, the latter can be done, too. Paul> Also, I don't think there is enough code there to be worth the Paul> bother of trying to abstract the generic routine so you can Paul> plug in different compare and move-element routines. The Paul> whole sort routine is only 16 lines of code, after all. Why Paul> not just have an ia64-specific version of sort_extable? Paul> That's what I thought you would do. Because the Alpha needs exactly the same code. --david - 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/