Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753914AbYH2HIW (ORCPT ); Fri, 29 Aug 2008 03:08:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751532AbYH2HIJ (ORCPT ); Fri, 29 Aug 2008 03:08:09 -0400 Received: from iona.labri.fr ([147.210.8.143]:58447 "EHLO iona.labri.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbYH2HII (ORCPT ); Fri, 29 Aug 2008 03:08:08 -0400 Message-ID: <48B7A079.5070409@inria.fr> Date: Fri, 29 Aug 2008 09:08:41 +0200 From: Brice Goglin User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: David Miller CC: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [RFC] export irq_set/get_affinity() for multiqueue network drivers References: <48B708E1.4070001@inria.fr> <20080828.135609.106382483.davem@davemloft.net> In-Reply-To: <20080828.135609.106382483.davem@davemloft.net> X-Enigmail-Version: 0.95.0 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: 967 Lines: 23 David Miller wrote: > I think we should rather have some kind of generic thing in the > IRQ layer that allows specifying the usage model of the device's > interrupts, so that the IRQ layer can choose a default affinities. > > I never notice any of this complete insanity on sparc64 because > we flat spread out all of the interrupts across the machine. > > What we don't want it drivers choosing IRQ affinity settings, > they have no idea about NUMA topology, what NUMA node the > PCI controller sits behind, what cpus are there, etc. and > without that kind of knowledge you cannot possible make > affinity decisions properly. As long as we get something better than the current behavior, I am fine with it :) Brice -- 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/