Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754216AbYKICSr (ORCPT ); Sat, 8 Nov 2008 21:18:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753761AbYKICSi (ORCPT ); Sat, 8 Nov 2008 21:18:38 -0500 Received: from gate.crashing.org ([63.228.1.57]:35819 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753754AbYKICSh (ORCPT ); Sat, 8 Nov 2008 21:18:37 -0500 Subject: Re: [PATCH 1/1] irq: Maintain user set affinity From: Benjamin Herrenschmidt Reply-To: benh@kernel.crashing.org To: Yinghai Lu Cc: Kumar Gala , Linus Torvalds , linux-kernel@vger.kernel.org, tglx@linutronix.de, Andrew Morton , linuxppc-dev@ozlabs.org In-Reply-To: <86802c440811081601w2be45e55hc400095137831b85@mail.gmail.com> References: <86802c440811081412u6d54beaam143801ce83225f40@mail.gmail.com> <1226182645.13603.90.camel@pasglop> <86802c440811081601w2be45e55hc400095137831b85@mail.gmail.com> Content-Type: text/plain Date: Sun, 09 Nov 2008 13:17:39 +1100 Message-Id: <1226197059.13603.92.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 527 Lines: 21 > for MSI, affinity is set two times. > > also in dynamic_irq_init is setting with > #ifdef CONFIG_SMP > cpus_setall(desc->affinity); > #endif > > it seems should use irq_default_affinity instead of CPU_MASK_ALL directly there. That sounds more like it. Cheers, Ben. -- 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/