• H. Peter Anvin's avatar
    x86, apic: Don't waste a vector to improve vector spread · ea943966
    H. Peter Anvin authored
    We want to use a vector-assignment sequence that avoids stumbling onto
    0x80 earlier in the sequence, in order to improve the spread of
    vectors across priority levels on machines with a small number of
    interrupt sources.  Right now, this is done by simply making the first
    vector (0x31 or 0x41) completely unusable.  This is unnecessary; all
    we need is to start assignment at a +1 offset, we don't actually need
    to prohibit the usage of this vector once we have wrapped around.
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    LKML-Reference: <4B426550.6000209@kernel.org>
    ea943966
irq_vectors.h 5.52 KB