• Andrew Morton's avatar
    [PATCH] irq balance logic fix · 97b6cac7
    Andrew Morton authored
    From: Andi Kleen <ak@suse.de>
    
    The logic is: the global variable is set to the magic value
    IRQBALANCE_CHECK_ARCH.  It can be overwritten by a __setup function.  If
    the magic value is still set when the irq balancer is started it asks the
    subarchitecture using the NO_BALANCE_IRQ macro.  This is defined to a
    genapic field in the generic architecture, otherwise constant.  Then the
    global variable is set and when it is true no balancing happens.
    
    Previously I had this wrong in that it always disabled it.
    
    This part should be correct, but it still doesn't seem to work.
    
    (I left the printk in there until the problem is debugged, could be removed
    of course)
    97b6cac7
io_apic.c 59.1 KB