Re: [PATCH -v2] x86, irq: get correct available vectors for cpu disable

2014-01-28 Thread Yinghai Lu
On Tue, Jan 28, 2014 at 10:43 AM, Prarit Bhargava wrote: > > > On 01/26/2014 03:50 PM, Yinghai Lu wrote: >> assign_irq_vector will stop before first_system_vector. >> also it will not vector that is set in used_vectors. >> >> used_vectors is used to track non per_cpu irq_vector in vector_irq. >> I

Re: [PATCH -v2] x86, irq: get correct available vectors for cpu disable

2014-01-28 Thread Prarit Bhargava
On 01/26/2014 03:50 PM, Yinghai Lu wrote: > assign_irq_vector will stop before first_system_vector. > also it will not vector that is set in used_vectors. > > used_vectors is used to track non per_cpu irq_vector in vector_irq. > It include first 32 exception [0,1f) and system vector near 0xfe. >

[PATCH -v2] x86, irq: get correct available vectors for cpu disable

2014-01-26 Thread Yinghai Lu
assign_irq_vector will stop before first_system_vector. also it will not vector that is set in used_vectors. used_vectors is used to track non per_cpu irq_vector in vector_irq. It include first 32 exception [0,1f) and system vector near 0xfe. and IA32_SYSCALL_VECTOR (0x80), IRQ_MOVE_CLEANUP_VECTOR