Re: [patch] Add allowed_affinity to the irq_desc to make it possible to have restricted irqs

From: Eric W. Biederman
Date: Wed Dec 13 2006 - 15:17:15 EST


Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> writes:

>> .
>>
>> In addition the cases I can think of allowed_affinity is the wrong
>> name. suggested_affinity sounds like what you are trying to implement
>> and when it is merely a suggestion and not a hard limit it doesn't
>> make sense to export like this.
>
> it really IS a hard limit.

Ok. Which generally makes it uninteresting. The only cases that I know
with a hard limit are completely unrouteable.

In addition upon reflection you don't handle PER_CPU irqs properly. As
I recall ia64 uses a different per cpu irq source to target each
individual processor. But because they are the same the share the
irq source.

I don't think allowed_affinity can even describe the case above.

Eric


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