Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261326AbTEKNO4 (ORCPT ); Sun, 11 May 2003 09:14:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261351AbTEKNO4 (ORCPT ); Sun, 11 May 2003 09:14:56 -0400 Received: from modemcable204.207-203-24.mtl.mc.videotron.ca ([24.203.207.204]:47235 "EHLO montezuma.mastecende.com") by vger.kernel.org with ESMTP id S261326AbTEKNOz (ORCPT ); Sun, 11 May 2003 09:14:55 -0400 Date: Sun, 11 May 2003 09:17:36 -0400 (EDT) From: Zwane Mwaikambo X-X-Sender: zwane@montezuma.mastecende.com To: William Lee Irwin III cc: Jos Hulzink , "Martin J. Bligh" , linux-kernel Subject: Re: irq balancing: performance disaster In-Reply-To: <20030511131521.GK8978@holomorphy.com> Message-ID: References: <200305110118.10136.josh@stack.nl> <7750000.1052619248@[10.10.2.4]> <200305111200.31242.josh@stack.nl> <20030511125438.GJ8978@holomorphy.com> <20030511131521.GK8978@holomorphy.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1074 Lines: 29 On Sun, 11 May 2003, William Lee Irwin III wrote: > On Sun, 11 May 2003, William Lee Irwin III wrote: > >> I vaguely like this notion because it removes a #ifdef and cleans up > >> a tiny bit of its surroundings. But it's not quite a one-liner. > > On Sun, May 11, 2003 at 08:58:57AM -0400, Zwane Mwaikambo wrote: > > Nice, it's during init too so there really is no need for any sort of > > optimisation, the inline can also go and make it __init. > > Very good point. The static variable in an inline function is very fishy > also. Here it is: Cool, could you send it to Marcelo? > - case CLUSTERED_APIC_XAPIC: > - /*round robin the interrupts*/ > - cpu = (cpu+1)%smp_num_cpus; > - return cpu_to_physical_apicid(cpu); Side note, any idea what the largest x440 this has code has run on? -- function.linuxpower.ca - 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/