From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754329AbZGVTyx (ORCPT ); Wed, 22 Jul 2009 15:54:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752983AbZGVTyw (ORCPT ); Wed, 22 Jul 2009 15:54:52 -0400 Received: from claw.goop.org ([74.207.240.146]:51135 "EHLO claw.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752201AbZGVTyv (ORCPT ); Wed, 22 Jul 2009 15:54:51 -0400 Message-ID: <4A676E89.9010606@goop.org> Date: Wed, 22 Jul 2009 12:54:49 -0700 From: Jeremy Fitzhardinge User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 MIME-Version: 1.0 To: "linux-kernel@vger.kernel.org" , "mingo@redhat.com" , "hpa@zytor.com" , "tglx@linutronix.de" , Jeremy Fitzhardinge CC: "Eric W. Biederman" Subject: Re: [tip:x86/apic] x86/ioapic.c: unify ioapic_retrigger_irq() References: In-Reply-To: X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/18/09 05:05, tip-bot for Jeremy Fitzhardinge wrote: > Commit-ID: e25371d60cb06a44d7a32d7966ab9bfbeacb9390 > Gitweb: http://git.kernel.org/tip/e25371d60cb06a44d7a32d7966ab9bfbeacb9390 > Author: Jeremy Fitzhardinge > AuthorDate: Mon, 8 Jun 2009 03:49:01 -0700 > Committer: Jeremy Fitzhardinge > CommitDate: Tue, 14 Jul 2009 13:32:51 -0700 > > x86/ioapic.c: unify ioapic_retrigger_irq() > > The 32 and 64-bit versions of ioapic_retrigger_irq() are identical > except the 64-bit one takes vector_lock. vector_lock is defined and > used on 32-bit too, so just use a common ioapic_retrigger_irq(). > Having another look at this patch, the other difference is that the 32-bit version just does: apic->send_IPI_self(irq_cfg(irq)->vector); whereas the 64-bit does: apic->send_IPI_mask(cpumask_of(cpumask_first(cfg->domain)), cfg->vector); Does 32-bit do the whole vector domain thing now? Are these actually equivalent? Sending to self seems like it should be more efficient. J