|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Just allocate unbound irq only from dynirq range, since
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID d265c79031afe9689271c03c56ed20069472f7ff
# Parent 3d884434ec971b889621f42f442ec71b45349748
Just allocate unbound irq only from dynirq range, since
pirq range is reserved for physical devices. This saves
unnecessary checks on pirq range.
Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>
diff -r 3d884434ec97 -r d265c79031af
linux-2.6-xen-sparse/drivers/xen/core/evtchn.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c Thu Apr 27 09:32:28
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c Thu Apr 27 09:43:49
2006 +0100
@@ -226,7 +226,8 @@ static int find_unbound_irq(void)
{
int irq;
- for (irq = 0; irq < NR_IRQS; irq++)
+ /* Only allocate from dynirq range */
+ for (irq = DYNIRQ_BASE; irq < NR_IRQS; irq++)
if (irq_bindcount[irq] == 0)
break;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-changelog] Just allocate unbound irq only from dynirq range, since,
Xen patchbot -unstable <=
|
|
|
|
|