Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752401Ab2EROl7 (ORCPT ); Fri, 18 May 2012 10:41:59 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:64896 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750920Ab2EROl5 (ORCPT ); Fri, 18 May 2012 10:41:57 -0400 Date: Fri, 18 May 2012 18:41:53 +0400 From: Cyrill Gorcunov To: Alexander Gordeev Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Suresh Siddha , Yinghai Lu Subject: Re: [PATCH 2/3] x86: x2apic/cluster: Make use of lowest priority delivery mode Message-ID: <20120518144153.GD8455@moon> References: <20120518102640.GB31517@dhcp-26-207.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120518102640.GB31517@dhcp-26-207.brq.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1366 Lines: 30 On Fri, May 18, 2012 at 12:26:41PM +0200, Alexander Gordeev wrote: > Currently x2APIC in logical destination mode delivers interrupts to a > single CPU, no matter how many CPUs were specified in the destination > cpumask. > > This fix enables delivery of interrupts to multiple CPUs by bit-ORing > Logical IDs of destination CPUs that have matching Cluster ID. > > Because only one cluster could be specified in a message destination > address, the destination cpumask is tried for a cluster that contains > maximum number of CPUs matching this cpumask. The CPUs in this cluster > are selected to receive the interrupts while all other CPUs (in the > cpumask) are ignored. Hi Alexander, I'm a bit confused, we do compose destination id from target cpumask and send one ipi per _cluster_ with all cpus belonging to this cluster OR'ed. So if my memory doesn't betray me all specified cpus in cluster should obtain this message. Thus I'm wondering where do you find that only one apic obtains ipi? (note i don't have the real physical machine with x2apic enabled handy to test, so please share the experience). Cyrill -- 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/