[PATCH] x86-64: Simplify the vector allocator.
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 24 Oct 2006 23:00:22 +0000 (01:00 +0200)
committerAndi Kleen <andi@one.(none)>
Tue, 24 Oct 2006 23:00:22 +0000 (01:00 +0200)
commitd1752aa884ec0ac3027c1a3d456bf69bf765c8b8
treee6c9c5d192a07b4bbf7d8f1381539c3f4e5ada50
parent7059abedd2f04b68bd7e1a79c9c72f7aeee134c0
[PATCH] x86-64: Simplify the vector allocator.

There is no reason to remember a per cpu position of which vector
to try.  Keeping a global position is simpler and more likely to
result in a global vector allocation even if I don't need or require
it.  For level triggered interrupts this means we are less likely to
acknowledge another cpus irq, and cause the level triggered irq to
harmlessly refire.

This simplification makes it easier to only access data structures
of  online cpus, by having fewer special cases to deal with.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/io_apic.c