[Prism54-devel] Comments to hotplug.c

Jean-Baptiste Note jean-baptiste.note at wanadoo.fr
Wed Jul 28 20:39:18 UTC 2004


with SA_INTERRUPT set, interrupts on the local processor are disabled
when running the handler (in addition to pdev->irq which is
disabled on *all* processors). So yes, the code has some effect on x86.
Is there any reason to do this ? 
According to RML's book, "save for the timer interrupt, most interrupts
do not want to enable this flag". You won't prevent any race doing this,
you'll just make sure you'll run without any delay.
I guess this can increase i/o for the driver, but will surely increase
latency and reduce throughput for other people. Maybe it is wise to
stick to the book and play nice ?

JB



More information about the Prism54-devel mailing list