Re: [PATCH 1/2] x86_64 irq: Simplify the vector allocator.

From: yhlu
Date: Mon Oct 23 2006 - 02:15:37 EST


On 10/22/06, Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:

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@xxxxxxxxxxxx>

Good, It will keep increase vector, and only try to use same vector for
different cpu when vector is used up.

Acked-by: Yinghai Lu <yinghai.lu@xxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/