From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933149AbZKXOnU (ORCPT ); Tue, 24 Nov 2009 09:43:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933094AbZKXOnT (ORCPT ); Tue, 24 Nov 2009 09:43:19 -0500 Received: from mga10.intel.com ([192.55.52.92]:2570 "EHLO fmsmga102.fm.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933079AbZKXOnS (ORCPT ); Tue, 24 Nov 2009 09:43:18 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.47,279,1257148800"; d="scan'208";a="749953784" Message-ID: <4B0BF10C.6070609@linux.intel.com> Date: Tue, 24 Nov 2009 06:43:24 -0800 From: Arjan van de Ven User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Peter Zijlstra CC: Peter P Waskiewicz Jr , Yong Zhang , "linux-kernel@vger.kernel.org" , "arjan@linux.jf.intel.com" , "davem@davemloft.net" , "netdev@vger.kernel.org" , Thomas Gleixner Subject: Re: [PATCH] irq: Add node_affinity CPU masks for smarter irqbalance hints 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> <1259051902.4531.1053.camel@laptop> <1259053156.2631.21.camel@ppwaskie-mobl2> <1259053736.4531.1097.camel@laptop> In-Reply-To: <1259053736.4531.1097.camel@laptop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Peter Zijlstra wrote: > On Tue, 2009-11-24 at 00:59 -0800, Peter P Waskiewicz Jr wrote: >>> This all sounds backwards.. we've got a perfectly functional interface >>> for affinity -- which people object to being used for some reason. So >>> you add another interface on top, and that is ok? >>> >> But it's not functional. If I set the affinity in smp_affinity, then >> irqbalance will override it 10 seconds later. > > And here I was thinking the kernel round-robins IRQ delivery on the mask > specified there. the kernel does no such thing, nor has code to do so. > Are you talking about some daft userspace thing that > writes into the irq smp_affinity to effect irq balancing? thanks ;)