Disable/Enable Interrupts in ISR

Prafulla Deuskar pdeuskar at freebsd.org
Fri Apr 4 09:46:30 PST 2003


All,

foo_intr()
{
...
disable_intr;
...
process data;
...
enable_intr;
}

Most of the network drivers currently do something like this in the ISR.
Is this really necessary as by the time ISR is called interrupts have already been
disabled on APIC and disabling interrupts on network card has no effect.

Is there an issue on non-x86 architectures?

Thanks,
Prafulla



More information about the freebsd-net mailing list