[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.