Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2003 09:46:28 -0800
From:      Prafulla Deuskar <pdeuskar@freebsd.org>
To:        freebsd-net@freebsd.org
Subject:   Disable/Enable Interrupts in ISR
Message-ID:  <20030404094628.A59969@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030404094628.A59969>