Re: [i386, x86-64] ioapic_register_intr() andassign_irq_vector() questions

From: Jan Beulich
Date: Fri Apr 14 2006 - 13:17:34 EST


>> Looking at the call paths assign_irq_vector() can get called from, I
>> would think this function, namely as it's using static variables,
>> lacks synchronization - is there any (hidden) reason this is not
>> needed here?

>It is only called during system initialization which is single threaded.
>If someone added ioapic hotplug they would need to do something about
>this.

Hmm, as I looked through this I expected this to be possibly called also later, as it seems to be on paths reachable
from exported functions (which clearly can be called only after the single-threaded phase is over.

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