In article <local.mail.freebsd-net/[EMAIL PROTECTED]> you write:
>
>Hi all,
>
>I was under the impression that the if_start function is NOT called from
>an interrupt context, so I should be able to call uma_zalloc_arg(...,
>M_WAITOK) there. I get however
>
>Mar 12 18:12:49 catssrv kernel: malloc() of "en dma maps" with the
>following non-sleepablelocks held:
>Mar 12 18:12:49 catssrv kernel: exclusive sleep mutex netisr lock r = 0
>(0xc022d9c0) locked @ /usr/src/sys/net/netisr.c:209
>
>I'm wrong with my assumption?

if_start() can be called from interrupt context from the bridging,
fast-forwarding, (and now) direct dispatch codepaths.  That being 
said, the message can be ignored, I'll rework things to use a gate
instead of a mutex, although this seems to be catching some hidden bugs.
-- 
Jonathan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to