netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Usage of mdelay() inside Interrupt
@ 2020-05-28 21:15 Armin Wolf
  2020-05-28 22:24 ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: Armin Wolf @ 2020-05-28 21:15 UTC (permalink / raw)
  To: netdev

Hi,

while browsing the sourcefile of lib8390.c in
drivers/net/ethernet/8390/, i noticed that inside
of ei_rx_overrun(), which is called from inside
a Interrupt handler, mdelay() is being used.
So i wonder if the usage of mdelay() inside the
Interrupt handler may cause problems since waiting
~10ms in Interrupt context seems a bit odd.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-03 23:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-28 21:15 Usage of mdelay() inside Interrupt Armin Wolf
2020-05-28 22:24 ` Andrew Lunn
2020-06-03 23:29   ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).