Re: [PATCH] x86_64 irq: reuse vector for __assign_irq_vector
From: Muli Ben-Yehuda
Date: Tue Oct 24 2006 - 05:06:40 EST
On Mon, Oct 23, 2006 at 09:15:31PM -0700, yhlu wrote:
> in phys flat mode, when using set_xxx_irq_affinity to irq balance from
> one cpu to another, _assign_irq_vector will get to increase last used
> vector and get new vector. this will use up the vector if enough
> set_xxx_irq_affintiy are called. and end with using same vector in
> different cpu for different irq. (that is not what we want, we only
> want to use same vector in different cpu for different irq when more
> than 0x240 irq needed). To keep it simple, the vector should be reused
> instead of getting new vector.
> Also according to Eric's review, make it more generic to be used with
> flat mode too.
> This patch need to be applied over Eric's irq: cpu_online_map patch.
> Cc: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
> Cc: Muli Ben-Yehuda <muli@xxxxxxxxxx>
> Signed-off-by: Yinghai Lu <yinghai.lu@xxxxxxx>
Boots fine and survives a quick stress test.
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/