From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arjan van de Ven Subject: Re: [PATCH] irq: Add node_affinity CPU masks for smarter irqbalance hints Date: Tue, 24 Nov 2009 06:42:18 -0800 Message-ID: <4B0BF0CA.5020600@linux.intel.com> References: <20091123064630.7385.30498.stgit@ppwaskie-hc2.jf.intel.com> <2674af740911222332i65c0d066h79bf2c1ca1d5e4f0@mail.gmail.com> <1258968980.2697.9.camel@ppwaskie-mobl2> <1258995923.4531.715.camel@laptop> <4B0B782A.4030901@linux.intel.com> <1259051986.4531.1057.camel@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Peter P Waskiewicz Jr , Yong Zhang , "linux-kernel@vger.kernel.org" , "arjan@linux.jf.intel.com" , "davem@davemloft.net" , "netdev@vger.kernel.org" To: Peter Zijlstra Return-path: Received: from mga10.intel.com ([192.55.52.92]:29844 "EHLO fmsmga102.fm.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933083AbZKXOmN (ORCPT ); Tue, 24 Nov 2009 09:42:13 -0500 In-Reply-To: <1259051986.4531.1057.camel@laptop> Sender: netdev-owner@vger.kernel.org List-ID: Peter Zijlstra wrote: >>> Same for userspace. >> the problem is that there is no way currently that the driver can communicate >> "I allocated all my metadata on THIS numa node". irqbalance and sysadmins need >> that to not make really stupid decisions..... > > And what exactly is struct device::numa_node good for then? > and that is exported to userspace.. how? ... that has nothing to do with an irq, and also falls flat for a driver that supports multiple irqs, and assigns one to each numa node.