|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: Continue to allocate vectors across
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1223463541 -3600
# Node ID 26985a665ded8d225fa993591255374760d0c969
# Parent 51a05fb4c6014059058de48b83a9431e7474a456
x86: Continue to allocate vectors across LAPIC priority levels, since
it's easy to do. It's not really necessary for modern non-buggy APICs
though.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/arch/x86/io_apic.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff -r 51a05fb4c601 -r 26985a665ded xen/arch/x86/io_apic.c
--- a/xen/arch/x86/io_apic.c Wed Oct 08 11:51:39 2008 +0100
+++ b/xen/arch/x86/io_apic.c Wed Oct 08 11:59:01 2008 +0100
@@ -697,8 +697,9 @@ int assign_irq_vector(int irq)
vector = current_vector;
while (vector_irq[vector] != FREE_TO_ASSIGN) {
- if (++vector > LAST_DYNAMIC_VECTOR)
- vector = FIRST_DYNAMIC_VECTOR;
+ vector += 8;
+ if (vector > LAST_DYNAMIC_VECTOR)
+ vector = FIRST_DYNAMIC_VECTOR + ((vector + 1) & 7);
if (vector == current_vector) {
spin_unlock(&vector_lock);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86: Continue to allocate vectors across LAPIC priority levels, since,
Xen patchbot-unstable <=
|
|
|
|
|