• Yinghai Lu's avatar
    [PATCH] x86-64: Extend clear_irq_vector · 5df0287e
    Yinghai Lu authored
    Clear the irq releated entries in irq_vector, irq_domain and vector_irq
    instead of clearing irq_vector only. So when new irq is created, it
    could reuse that vector. (actually is the second loop scanning from
    FIRST_DEVICE_VECTOR+8). This could avoid the vectors are used up
    with enough module inserting and removing
    
    Cc: Eric W. Biedierman <ebiederm@xmission.com>
    Cc: Muli Ben-Yehuda <muli@il.ibm.com>
    Signed-off-By: default avatarYinghai Lu <yinghai.lu@amd.com>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    5df0287e
io_apic.c 52.9 KB