WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Call move_irq() during evtchn ->ack irq hook functions.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Call move_irq() during evtchn ->ack irq hook functions. This
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Apr 2006 17:00:09 +0000
Delivery-date: Fri, 14 Apr 2006 10:01:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 2ccaa3879417ba40b112fcf9d1ef4d45c82e25ca
# Parent  f4285d150d3a692553c0c64d76a65b5d29536ec9
Call move_irq() during evtchn ->ack irq hook functions. This
triggers SMP affinity work.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r f4285d150d3a -r 2ccaa3879417 
linux-2.6-xen-sparse/drivers/xen/core/evtchn.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c    Fri Apr 14 10:58:11 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c    Fri Apr 14 10:58:49 2006
@@ -513,6 +513,8 @@
 {
        int evtchn = evtchn_from_irq(irq);
 
+       move_native_irq(irq);
+
        if (VALID_EVTCHN(evtchn)) {
                mask_evtchn(evtchn);
                clear_evtchn(evtchn);
@@ -635,6 +637,8 @@
 static void ack_pirq(unsigned int irq)
 {
        int evtchn = evtchn_from_irq(irq);
+
+       move_native_irq(irq);
 
        if (VALID_EVTCHN(evtchn)) {
                mask_evtchn(evtchn);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>