Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932394AbZKXJI4 (ORCPT ); Tue, 24 Nov 2009 04:08:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932300AbZKXJIz (ORCPT ); Tue, 24 Nov 2009 04:08:55 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:47069 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932285AbZKXJIy (ORCPT ); Tue, 24 Nov 2009 04:08:54 -0500 Subject: Re: [PATCH] irq: Add node_affinity CPU masks for smarter irqbalance hints From: Peter Zijlstra To: Peter P Waskiewicz Jr Cc: Yong Zhang , "linux-kernel@vger.kernel.org" , "arjan@linux.jf.intel.com" , "davem@davemloft.net" , "netdev@vger.kernel.org" , Thomas Gleixner In-Reply-To: <1259053156.2631.21.camel@ppwaskie-mobl2> 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> Content-Type: text/plain; charset="UTF-8" Date: Tue, 24 Nov 2009 10:08:56 +0100 Message-ID: <1259053736.4531.1097.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 844 Lines: 18 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. Are you talking about some daft userspace thing that writes into the irq smp_affinity to effect irq balancing? -- 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/