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 -3.0-testing <patchbot-3.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Apr 2006 14:08:15 +0000
Delivery-date: Fri, 14 Apr 2006 07:09:12 -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 52f475fe17515c94c99c25d5d96d926524e1ae61
# Parent  f829258fe6348fbf550fbd32c5a7f5aa0d0158ff
Call move_irq() during evtchn ->ack irq hook functions. This
triggers SMP affinity work.

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

diff -r f829258fe634 -r 52f475fe1751 
linux-2.6-xen-sparse/drivers/xen/core/evtchn.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c    Fri Apr 14 11:04:41 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c    Fri Apr 14 11:05:03 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>