]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit74d0508fec35b9c58c994f6cefb70827c3790f42
treee6c9c5d192a07b4bbf7d8f1381539c3f4e5ada50
parent7299737aa7d9ec115a948dd13ddb70b91f5e143c
[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