Re: TARGET_CPUS in assign_irq_vector

From: Yinghai Lu
Date: Tue Sep 09 2008 - 18:54:26 EST


On Tue, Sep 9, 2008 at 3:30 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
> On x86-64, the genapic implementations of target_cpus returns
> cpu_online_map. What if more cpus have yet to come online? Shouldn't
> it be cpu_possible_map?
>
> Though I'm probably confused. I don't really know what the intent of
> target_cpus and vector_allocation_domain is.
>
logical mode, vector_allocation_domain will return all online cpus aka
the 8 cpus.

phys_flat mode, vector_allotcation_domain will only the cpumask with
the cpu set..

target_cpus is the cpus that could be possible to used to take vector
and process that irq. so at least it should be online.

YH
--
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/