Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933866AbZKXS3m (ORCPT ); Tue, 24 Nov 2009 13:29:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933758AbZKXS3l (ORCPT ); Tue, 24 Nov 2009 13:29:41 -0500 Received: from hera.kernel.org ([140.211.167.34]:43251 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933553AbZKXS3l (ORCPT ); Tue, 24 Nov 2009 13:29:41 -0500 Message-ID: <4B0C259A.5020303@kernel.org> Date: Tue, 24 Nov 2009 10:27:38 -0800 From: Yinghai Lu User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Ingo Molnar CC: "Eric W. Biederman" , Arjan van de Ven , Thomas Gleixner , Peter Zijlstra , Dimitri Sivanich , Suresh Siddha , LKML , Jesse Barnes , David Miller , Peter P Waskiewicz Jr , "H. Peter Anvin" Subject: Re: [PATCH v6] x86/apic: limit irq affinity References: <20091120211139.GB19106@sgi.com> <20091122011457.GA16910@sgi.com> <1259069986.4531.1453.camel@laptop> <20091124065022.6933be1a@infradead.org> <20091124182059.GB11894@elte.hu> In-Reply-To: <20091124182059.GB11894@elte.hu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1508 Lines: 33 Ingo Molnar wrote: > * Eric W. Biederman wrote: > >> Currently the irq code treats /proc/irq/N/smp_affinity as a strong >> hint on where we would like interrupts to be delivered, and we don't >> have good feedback from there to architecture specific code that knows >> what we really can do. It is going to take some effort and some work >> to make that happen. >> >> I think the irq scheduler is the only scheduler (except for batch >> jobs) that we don't put in the kernel. It seems to me that if we are >> going to go to all of the trouble to rewrite the generic code to >> better support irqbalance because we are having serious irqbalance >> problems, it will be less effort to suck irqbalance into the kernel >> along with everything else. >> >> I really think irqbalancing belongs in the kernel. [...] > > Interesting. I've yet to see a solution that is maintainable and works > well, without putting too much policy into the kernel. Our previous > solutions didnt really work all that well. > > What would your model be, and can it be implemented reasonably? we already have dev numa node, so could just make irqblance to some smart to use that device node corresponding for irq that is binding to the device. YH -- 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/