x86_64/ioapic: Enable GSI target CPU auto-balance by default
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 11 May 2014 11:22:02 +0000 (19:22 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 11 May 2014 11:30:40 +0000 (19:30 +0800)
The original bug, which prevented GSI target CPU auto-balance, probably
was fixed by 902419bf6d9fd0f80afc9d07cd4b3e99d20f23ca.

sys/platform/pc64/apic/ioapic_abi.c

index 945030a..a092e79 100644 (file)
@@ -548,7 +548,7 @@ struct machintr_abi MachIntrABI_IOAPIC = {
 
 static int     ioapic_abi_extint_irq = -1;
 static int     ioapic_abi_legacy_irq_max;
-static int     ioapic_abi_gsi_balance;
+static int     ioapic_abi_gsi_balance = 1;
 static int     ioapic_abi_msi_start;   /* NOTE: for testing only */
 
 struct ioapic_irqinfo  ioapic_irqs[IOAPIC_HWI_VECTORS];